From 06068665e980670e3aa749598e39e08bbbf35919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Fri, 19 Sep 2025 19:29:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=88=BF=E9=97=B4=20=20?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=B3=A8=E9=94=80=E6=88=BF=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Search.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/application/api/controller/Search.php b/application/api/controller/Search.php index 10fba64..20d1586 100644 --- a/application/api/controller/Search.php +++ b/application/api/controller/Search.php @@ -36,13 +36,15 @@ class Search extends BaseCom $where = [ 'room_number' => $search, 'apply_status' => 2, - 'type_id' => ['<>',6] + 'type_id' => ['<>',6], + 'room_status' => 1 ]; }else{ $where = [ 'room_name' => ['like', '%'.$search . '%'], 'apply_status' => 2, - 'type_id' => ['<>',6] + 'type_id' => ['<>',6], + 'room_status' => 1 ]; }