浏览代码

更新机器人资源回收

郑晓宇 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);
                             }