热门房间

This commit is contained in:
2026-01-29 17:55:31 +08:00
parent 18c88570f0
commit c839743f50

View File

@@ -31,7 +31,7 @@ class Xintiao extends BaseCom
]);
}
//查询房间是否热门房间
$is_hot_room = db::name('vs_room')->where(['id' => $room_id,'is_hot' => 1])->find();
$is_hot_room = db::name('vs_room')->where(['id' => $room_id,'is_hot' => 2])->find();
if($is_hot_room){
//任务18-每日在线时长 5 分钟
model('Tasks')->tasks_complete($user_id,18);