From 80b0e6efd6592ea3905a76cfcfeb2f932c67b18d Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 15 Nov 2023 15:36:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/merchant/Merchant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/store/merchant/Merchant.php b/app/controller/api/store/merchant/Merchant.php index dfe045c1..a4ff6061 100644 --- a/app/controller/api/store/merchant/Merchant.php +++ b/app/controller/api/store/merchant/Merchant.php @@ -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']);