liche update for admin goods show when id=1

This commit is contained in:
xxb
2021-09-14 14:52:49 +08:00
committed by lccsw
parent cdb25669a5
commit 5650b10c33
+3 -1
View File
@@ -31,7 +31,9 @@ class Goods extends HD_Controller
$params = $this->input->get();
$page = $params['page'] = $params['page'] ? intval($params['page']) : 1;
$size = $params['size'] = $params['size'] ? intval($params['size']) : 20;
$where = $where_1 = $where_2 = $where_3 = $autoList = array();
$where = array('id<>1' => null);
$where_1 = $where_2 = $where_3 = array('m.id<>1' => null);
$autoList = array();
$search_type = 0;//0不连表,1联表筛选精品,2联表筛选销售,3联表筛选精品和销售
if ($params['brand_id']) {
$where['brand_id'] = $params['brand_id'];