vali 6 years ago
parent
commit
eb995335d0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vendor/GatewayWorker_windows/Applications/whisper/Events.php

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

@@ -615,7 +615,7 @@ class Events
         self::$redis->del(self::getKfServiceKey($uid));
         self::writeLogKfStatus($uid, 0);
 
-        return;
+        return true;
     }
 
     //用户下线了          系统调用,不能手动调用
@@ -710,7 +710,7 @@ class Events
         //$kfInfo['user_info'] = $kfUserList;
         //$kfInfo['task'] = count($kfUserList);
         // 存入客服信息.
-        self::$redis->HSET('KFINFO', 'KF' . $data['kf_id'], json_encode($kfInfo, 256));
+        //self::$redis->HSET('KFINFO', 'KF' . $data['kf_id'], json_encode($kfInfo, 256));
         // 发送消息给用户.
         $chat_message = [
             'message_type' => 'closeBysever',