vali hace 6 años
padre
commit
bb3db1ac2e
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      vendor/GatewayWorker_windows/Applications/whisper/Events.php

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

@@ -475,7 +475,8 @@ class Events
 
         if (!isset(self::$global->groupmap[$group])) {
             self::MySendMsg($client_id, (json_encode(['message_type' => 'reLoginErr', 'msg' => '不存在客服组....'], 256)));
-            Gateway::closeCurrentClient();
+            return  true;
+            //Gateway::closeCurrentClient();
         }
 
         $loginstate = self::$logic->userIsLogin($client_id, $uid, $group);
@@ -499,7 +500,7 @@ class Events
         $onlinekf = self::getOnlineKfData($group, 1);
         if (empty($onlinekf)) {
             Gateway::sendToClient($client_id, json_encode(['message_type' => 'notice', 'content' => '暂时没有客服上班,请稍后再咨询。'], 256));
-            Gateway::closeClient($client_id);
+            //Gateway::closeClient($client_id);
             return;
         }