Sfoglia il codice sorgente

更新机器人资源回收

郑晓宇 6 anni fa
parent
commit
515367619d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Console/Commands/recylerobots.php

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

@@ -64,7 +64,7 @@ class recylerobots extends Command
                             //房间是否结束
                             $is_end = Room::where("room_id", $room_id)->where("is_end", 1)->count();
                             if($is_end){
-                                unset($update_data)
+                                unset($update_data);
                                 $update_data['state'] = 0;
                                 RoomUser::where("user_id", $robot->user_id)->where("state", 1)->update($update_data);
                             }