...
|
...
|
@@ -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);
|
|
|
}
|
|
|
sleep(10);
|
|
|
|
|
|
}
|
|
|
} |
...
|
...
|
|