This commit is contained in:
mkm 2024-06-17 16:44:35 +08:00
commit 89596e38d3

View File

@ -148,7 +148,6 @@ class StoreProductLogic extends BaseLogic
'is_return' => $params['is_return'],
'price' => $params['price'],
'vip_price' => $params['vip_price'],
'cost' => $params['cost'],
'batch' => $params['batch'],
'swap' => $params['swap'] ?? 0,
@ -177,7 +176,7 @@ class StoreProductLogic extends BaseLogic
StoreBranchProduct::where('product_id', $params['id'])->update([
'price' => $params['price'], 'vip_price' => $params['vip_price'],
'cost' => $params['cost'], 'cate_id' => $params['cate_id'],
'batch'=>$params['batch']
'batch'=>$params['batch'],'store_name'=>$params['store_name']
]);
Db::commit();