ssvfdn 3 месяцев назад
Родитель
Сommit
ae2634f9fa
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      app/controller/PlayerControl.php

+ 4 - 0
app/controller/PlayerControl.php

@@ -267,6 +267,10 @@ class PlayerControl extends BaseController
             $item['old_rtp'] = bcdiv($item['old_rtp'], 100, 2) . "%";
             $item['now_rtp'] = bcdiv($rtpConfigList[$one_key] ?? 0, 100, 2) . "%";
 
+            if(!empty($item['auto_cancel_rtp'])) {
+                $item['auto_cancel_rtp'] = bcdiv($item['auto_cancel_rtp'], 100, 2) . "%";
+            }
+
             $playerInfo = $playerConfig[$player_id] ?? [];
             $item['uname'] = $playerInfo['uname'] ?? '';
             $item['nickname'] = $playerInfo['nickname'] ?? '';