From 19b71fa7c926590a897eb1576c61740d3d17962f Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Fri, 10 Nov 2023 10:00:09 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0v5.2.1=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/adminapi/controller/v1/product/StoreProduct.php | 1 + 1 file changed, 1 insertion(+) diff --git a/crmeb/app/adminapi/controller/v1/product/StoreProduct.php b/crmeb/app/adminapi/controller/v1/product/StoreProduct.php index 0c4ec2a29..ee3f813e5 100644 --- a/crmeb/app/adminapi/controller/v1/product/StoreProduct.php +++ b/crmeb/app/adminapi/controller/v1/product/StoreProduct.php @@ -303,6 +303,7 @@ class StoreProduct extends AuthController ]); $where['is_show'] = 1; $where['is_del'] = 0; + $where['cate_id'] = stringToIntArray($where['cate_id']); /** @var StoreCategoryServices $storeCategoryServices */ $storeCategoryServices = app()->make(StoreCategoryServices::class); if ($where['cate_id'] !== '') {