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