Преглед изворни кода

更新机器人资源回收

郑晓宇 пре 6 година
родитељ
комит
515367619d
1 измењених фајлова са 1 додато и 1 уклоњено
  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);
                             }