营业时间 到了 用户退出房间

This commit is contained in:
2026-01-20 15:37:45 +08:00
parent 7ac9879702
commit e977d4b4f1
4 changed files with 38 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ class PerformPerSecond
$this->sign_room_time_end();
echo "\n";
echo "酒吧房间时间结束处理:\n";
echo "酒吧房间麦位时间结束处理:\n";
$this->bar_room_time_end();
echo "\n";
@@ -382,7 +382,7 @@ class PerformPerSecond
}
}
//酒吧房间时间结束处理
//酒吧房间麦位时间结束处理
public function bar_room_time_end(){
$bar_pit_gift = Db::name('vs_room_pit')->where(['end_time'=>['<',time()]])->where(['end_time'=>['<>',0]])->select();
if($bar_pit_gift){