vali 6 anos atrás
pai
commit
828e4d78c8

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

@@ -188,6 +188,7 @@ class Events
                     break;
             }
         }
+        return true;
     }
 
     // 弹出评价.
@@ -556,7 +557,7 @@ class Events
             self::$redis->srem('adminList', $client_id);
         }
         if (empty($uid)) {
-            return;
+            return true;
         }
 
         if ($isKefuoff) {
@@ -564,7 +565,7 @@ class Events
         } else {
             self::guestOffline($client_id, $uid);
         }
-        return;
+        return true;
     }
 
     //客服下线了  系统调用,不能手动调用