vali 6 жил өмнө
parent
commit
96383a6623

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

@@ -544,8 +544,11 @@ class System extends Base
     }
 
     // 历史会话记录详情
-    public function detail($id, $type = '')
+    public function detail()
     {
+        $id = 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++) {