调整商品列表查询
This commit is contained in:
parent
d4094ba1c3
commit
13403e44e7
@ -60,7 +60,7 @@ class CloudWarehouse extends BaseController
|
||||
$cate_id=Db::name('store_category')->where('pid',$cate_pid)->where('is_show',1)->column('store_category_id');
|
||||
}
|
||||
if($cate_id>0){
|
||||
$query->where('cate_id', $cate_id);
|
||||
$query->whereIn('cate_id', $cate_id);
|
||||
}
|
||||
$cloud_product_arr = $query->where(function($query){
|
||||
$query->whereOr('mer_labels', '')
|
||||
|
Loading…
x
Reference in New Issue
Block a user