跳转师徒任务房间

This commit is contained in:
2025-12-11 18:57:17 +08:00
parent f67acd0866
commit a2383add23

View File

@@ -3337,7 +3337,7 @@ class Room extends Model
} }
if($task_id == 22){ if($task_id == 22){
//拍卖 且有人有热度 //点歌 且有人有热度
$room_ids = db::name('vs_room')->alias('a')->join('vs_room_visitor b','a.id = b.room_id','right') $room_ids = db::name('vs_room')->alias('a')->join('vs_room_visitor b','a.id = b.room_id','right')
->where(['a.type_id' => 9,'a.room_status' => 1,'a.today_hot_value' => ['>',0],'b.user_id' => ['<>',0]]) ->where(['a.type_id' => 9,'a.room_status' => 1,'a.today_hot_value' => ['>',0],'b.user_id' => ['<>',0]])
->column('a.id'); ->column('a.id');
@@ -3355,7 +3355,7 @@ class Room extends Model
// } // }
} }
if($task_id == 23){ if($task_id == 23){
//拍卖 且有人有热度 //互娱 且有人有热度
$room_ids = db::name('vs_room')->alias('a')->join('vs_room_visitor b','a.id = b.room_id','right') $room_ids = db::name('vs_room')->alias('a')->join('vs_room_visitor b','a.id = b.room_id','right')
->where(['a.type_id' => 7,'a.room_status' => 1,'a.today_hot_value' => ['>',0],'b.user_id' => ['<>',0]]) ->where(['a.type_id' => 7,'a.room_status' => 1,'a.today_hot_value' => ['>',0],'b.user_id' => ['<>',0]])
->column('a.id'); ->column('a.id');