From 9a2a3b829fd4b8d85a23236e41196427558457aa Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 1 Nov 2023 19:45:21 +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/product/StoreMicro.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/store/product/StoreMicro.php b/app/controller/api/store/product/StoreMicro.php index 814f47ec..b8c4e117 100644 --- a/app/controller/api/store/product/StoreMicro.php +++ b/app/controller/api/store/product/StoreMicro.php @@ -121,7 +121,7 @@ class StoreMicro extends BaseController $find['cate_id'] = $store_category_id; unset($find['create_time']); } - $a= app()->make( ProductRepository::class)->create($find,0,1); + $a= app()->make( ProductRepository::class)->create($find,$product_type,1); if($a){ return app('json')->success(['data'=>['product_id'=>$a],'msg'=>'导入成功']); }else{