Explorar o código

更新回收问题

郑晓宇 %!s(int64=6) %!d(string=hai) anos
pai
achega
f4c3ffe1e9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Console/Commands/recylerobots.php

+ 1 - 1
app/Console/Commands/recylerobots.php

@@ -51,7 +51,7 @@ class recylerobots extends Command
             if($robots){
                 foreach ($robots as $robot) {
                     //检测是否在线
-                    if(Gateway::isOnline($robot->user_id)){
+                    if(Gateway::isUidOnline($robot->user_id)){
                         //检测游戏是否结束
                         $has_game = RoomUser::where("user_id", $user_id)->where("state", 1)->count();
                         if(!$has_game){