From d0e564533de469bbfd09eef100e27fbb7f9fbb09 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Sat, 7 Oct 2023 17:15:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E7=B1=BB=E5=9E=8B?= 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 bb279f8d..c3eb83ca 100644 --- a/app/controller/merchant/store/product/Product.php +++ b/app/controller/merchant/store/product/Product.php @@ -127,7 +127,7 @@ class Product extends BaseController $data['update_time'] = date('Y-m-d H:i:s'); $typeSupplyChainId = Db::name('MerchantType')->where('type_code', Merchant::TypeCode['TypeSupplyChain'])->value('mer_type_id'); $productType = $this->request->merchant()->type_id == $typeSupplyChainId ? 98 : 0; - $this->repository->edit($id, $data, $this->request->merId(), $productType); + $this->repository->edit($id, $data, $this->request->merId(), $productType,1); return app('json')->success('编辑成功'); }