更新商品详情类型
This commit is contained in:
parent
49ff1bed44
commit
d0e564533d
@ -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('编辑成功');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user