From d97c35cacecb7c546930fbd242af1fd64666ce2c Mon Sep 17 00:00:00 2001 From: knowpia <9812993@qq.com> Date: Fri, 9 Sep 2022 14:14:33 +0800 Subject: [PATCH] code add --- app/controller/Search.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controller/Search.php b/app/controller/Search.php index 9854ace..ecefd8a 100644 --- a/app/controller/Search.php +++ b/app/controller/Search.php @@ -24,9 +24,9 @@ class Search return show("上传的类型不正确"); } - if($type == 1) $where .= " and type = 1"; - if($type == 2) $where .= " and type = 2"; - if($type == 3) $where .= " and disabled = 1"; +// if($type == 1) $where .= " and type = 1"; +// if($type == 2) $where .= " and type = 2"; +// if($type == 3) $where .= " and disabled = 1"; } $KEY = $post['keywords'];