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'];