调整商品列表查询

This commit is contained in:
luofei 2024-01-22 14:22:09 +08:00
parent d4094ba1c3
commit 13403e44e7

View File

@ -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', '')