房间是否显示 前台添加

This commit is contained in:
2025-12-31 10:50:27 +08:00
parent 4187931abd
commit 88ebe674de

View File

@@ -4099,7 +4099,7 @@ class Room extends Model
if($task_id == 33){
//练歌type= 1 label =2
$room_ids = db::name('vs_room')->alias('a')->join('vs_room_visitor b','a.id = b.room_id','right')
->where(['a.type_id' => 1,'a.label_id' => 2,'a.room_status' => 1,'b.user_id' => ['<>',0]])
->where(['a.type_id' => 1,'a.label_id' => 2,'a.room_status' => 1,'b.user_id' => ['<>',0],'is_show_room'=>1])
->column('a.id');
if(!$room_ids){
return 0;