房间是否显示 前台添加

This commit is contained in:
2025-12-31 10:12:17 +08:00
parent f439929e6d
commit a8b3d30ac6

View File

@@ -196,6 +196,7 @@ class Room extends Model
$map['delete_time'] = 0;//0 未删除不等于0 表示已删除
$map['room_status'] = 1;//房间状态1正常2封禁3关闭
$map['apply_status'] = 2;//1待审核 2审核通过 3审核失败
$map['is_show_room'] = 1;// 1显示 2不显示
if($is_top == 2){
$map['is_top'] = $is_top;