Procházet zdrojové kódy

Merge branch 'dev' of http://git.bocai108.com:10180/Ethan/Customer-Service into dev

vali před 6 roky
rodič
revize
f6a83361c8

+ 2 - 4
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -691,7 +691,6 @@ class Events
         Gateway::sendToClient($data['kf_client_id'], json_encode($del_message, 256));
         // 查询工单会话总数.
         $chatCount = self::$db->select('count(*) as count')->from('ws_chat_log')->where("servicelog_id=$servicelogId")->row();
-        print_r($chatCount);
         // 将数据存入数据库.
         $updateServiceLogData = [
             'status' => 2,
@@ -1283,7 +1282,6 @@ class Events
                     'evaluateCount' => $evaluateCount,
                 ]
             ];
-            print_r($chat_message);
             Gateway::sendToClient($v, json_encode($chat_message, 256));
         }
     }
@@ -1526,7 +1524,7 @@ class Events
             });
 
             // 管理员实时监控.
-            Timer::add(6, function () {
+            Timer::add(60, function () {
                 // 获取在线管理员
                 $adminList = self::$redis->smembers('adminList');
                 if ($adminList) {
@@ -1535,7 +1533,7 @@ class Events
             });
 
             // 检查对话时效给出.
-            Timer::add(6, function () {
+            Timer::add(60, function () {
                 self::overTime();
             });