liche update for admin goods show when id=1
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user