修改商品列表搜索
This commit is contained in:
parent
110c4c4fb1
commit
8c29f7f792
@ -91,7 +91,7 @@ class StoreSpu extends BaseController
|
||||
unset($where['type_id'], $where['street_id'],$where['type_code'],$where['village_id']);
|
||||
|
||||
$where['is_gift_bag'] = 0;
|
||||
$where['product_type'] = $where['product_type']??0;
|
||||
$where['product_type'] = $where['product_type'] != '' ? $where['product_type'] : 0;
|
||||
$where['order'] = $where['order'] ?: 'star';
|
||||
if ($where['is_trader'] != 1) unset($where['is_trader']);
|
||||
if($where['category_id']!=''){
|
||||
|
Loading…
x
Reference in New Issue
Block a user