Authored by xiaofeng.yao@yoho.cn

刷房间状态脚本修改

... ... @@ -17,7 +17,6 @@ class RoomController extends Controller
public function actionStat(){
while(true){
//获取未开始的房间
$result = Room::find()
->where(['living'=>0])
... ... @@ -41,7 +40,8 @@ class RoomController extends Controller
}
}
}
}
sleep(10);
}
}
}
... ...