From 49ff1bed44f7fcf89fae4dd50bd7271047a9923b Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Sat, 7 Oct 2023 17:05:44 +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/merchant/store/product/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/merchant/store/product/Product.php b/app/controller/merchant/store/product/Product.php index d3951149..bb279f8d 100644 --- a/app/controller/merchant/store/product/Product.php +++ b/app/controller/merchant/store/product/Product.php @@ -99,7 +99,7 @@ class Product extends BaseController } $data['update_time'] = date('Y-m-d H:i:s'); $data['content']=$data['content']?json_encode($data['content']):[]; - $this->repository->create($data,$product_type); + $this->repository->create($data,$product_type,1); return app('json')->success('添加成功'); }