|
|
@@ -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;
|
|
|
}
|
|
|
|