Browse Source

fix control

ssvfdn 3 tháng trước cách đây
mục cha
commit
9ad620db12
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      app/controller/PlayerControl.php

+ 5 - 0
app/controller/PlayerControl.php

@@ -289,6 +289,11 @@ class PlayerControl extends BaseController
             if(!empty($adminInfo)) {
                 $item['admin_name'] = $adminInfo['nick_name'] ?? '';
             }
+
+            if(!empty($item['end_time'])) {
+                $item['end_time'] = date('Y-m-d H:i:s', $item['end_time']);
+            }
+
             $results['list'][$key] = $item;
         }