vali 6 år sedan
förälder
incheckning
0ef0a83444
1 ändrade filer med 1 tillägg och 4 borttagningar
  1. 1 4
      application/admin/controller/System.php

+ 1 - 4
application/admin/controller/System.php

@@ -544,11 +544,8 @@ class System extends Base
     }
 
     // 历史会话记录详情
-    public function detail()
+    public function detail($id,$type='')
     {
-        $id = intval(input('get.id'));
-        $type = input('get.type', '');
-
         $chat = db('chat_log')->where('servicelog_id', $id)->order('time_line')->select();
         $html = '';
         for ($i = 0; $i < count($chat); $i++) {