From 9038538ee80601270b4fdf7dd4279955ffced73a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Tue, 21 Oct 2025 17:20:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=98=E5=9C=B0=E6=96=B0=E7=9A=84=E9=9C=80?= =?UTF-8?q?=E6=B1=82=E6=B1=A0=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC-5-?= =?UTF-8?q?=E5=85=AC=E4=BC=9A=E6=88=BF=E9=97=B4=E5=88=97=E8=A1=A8=E5=8A=A0?= =?UTF-8?q?=E6=80=BB=E6=B5=81=E6=B0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/adminapi/controller/Room.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/adminapi/controller/Room.php b/application/adminapi/controller/Room.php index 593bfdf..60440a9 100644 --- a/application/adminapi/controller/Room.php +++ b/application/adminapi/controller/Room.php @@ -445,6 +445,8 @@ class Room extends adminApi } if($type_id!==''){ $where['type_id'] = $type_id; + }else{ + $where['type_id'] = ['<>',6]; } if($label_id!==''){ $where['label_id'] = $label_id; @@ -460,7 +462,6 @@ class Room extends adminApi } //房间列表只展示 审核通过的房间 $where['apply_status'] = 2;//1待审核 2审核通过 3审核失败 - $where['type_id'] = ['<>',6]; $count = db::name($this->table)->where($where)->count(); $room_lists = db::name($this->table)->where($where)->page($page, $page_limit)->select(); $lists = [];