This commit is contained in:
mkm 2023-11-15 15:36:46 +08:00
parent b6cf29edf5
commit 80b0e6efd6

View File

@ -67,7 +67,7 @@ class Merchant extends BaseController
if($arr){
$category_id=Db::name('merchant_category')->whereIn('category_name',$arr)->column('merchant_category_id');
if($category_id){
$where['category_id']=explode(',',$category_id);
$where['category_id']=implode(',',$category_id);
}
}
unset($where['store_category_id']);