郑晓宇 6 роки тому
батько
коміт
e61efcf6ec
1 змінених файлів з 1 додано та 0 видалено
  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);