瀏覽代碼

【程序目录】更新v5.2.1版本

evoxwht 2 年之前
父節點
當前提交
19b71fa7c9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      crmeb/app/adminapi/controller/v1/product/StoreProduct.php

+ 1 - 0
crmeb/app/adminapi/controller/v1/product/StoreProduct.php

@@ -303,6 +303,7 @@ class StoreProduct extends AuthController
         ]);
         ]);
         $where['is_show'] = 1;
         $where['is_show'] = 1;
         $where['is_del'] = 0;
         $where['is_del'] = 0;
+        $where['cate_id'] = stringToIntArray($where['cate_id']);
         /** @var StoreCategoryServices $storeCategoryServices */
         /** @var StoreCategoryServices $storeCategoryServices */
         $storeCategoryServices = app()->make(StoreCategoryServices::class);
         $storeCategoryServices = app()->make(StoreCategoryServices::class);
         if ($where['cate_id'] !== '') {
         if ($where['cate_id'] !== '') {