郑晓宇 hace 6 años
padre
commit
e61efcf6ec
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Console/Commands/robot.php

+ 1 - 0
app/Console/Commands/robot.php

@@ -132,6 +132,7 @@ class robot extends Command
                     if($room_id && $client_id){
                         $clients = Gateway::getClientIdListByGroup($room_id);
                         if(count($clients) < 2){
+                            $room_id = '';
                             echo "{$client_id} 成功重回队列\n";
                             //重新加入机器人队列
                             Redis::sadd('robot_list', $json_data->client_id);