创建房间bug修改

This commit is contained in:
2025-09-23 14:49:15 +08:00
parent 09e5802e2b
commit 0728b51c8e
2 changed files with 2 additions and 2 deletions

View File

@@ -272,7 +272,7 @@ class Room extends Model
$roomInfo = db::name('vs_room')
->field('id as room_id,room_number,user_id,room_name,room_cover,apply_status,type_id,room_status,label_id')
->where('user_id' , $uid)
->where(['type_id' => ['<>',6],'room_status' =>1])
->where(['type_id' => ['<>',6],'room_status' =>1,'apply_status' => 2])
->page($page, $page_limit)
->select();
}