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('编辑成功'); }