Merge pull request 'fix(product): 修复商品价格保存逻辑' (#12) from dev into main
Reviewed-on: https://gitea.lihaink.cn/mkm/multi-store/pulls/12
This commit is contained in:
commit
a4eb84500a
@ -48,14 +48,14 @@ class StoreProductPriceLogic extends BaseLogic
|
||||
'purchase' => $model['purchase'],
|
||||
'cost' => $model['cost'],
|
||||
'vip_price' => $model['vip_price'],
|
||||
'price' => $model['vip_price'],
|
||||
'price' => $model['price'],
|
||||
'ot_price' => $model['price']
|
||||
]);
|
||||
StoreBranchProduct::where('product_id', $model['product_id'])->update([
|
||||
'purchase' => $model['purchase'],
|
||||
'cost' => $model['cost'],
|
||||
'vip_price' => $model['vip_price'],
|
||||
'price' => $model['vip_price'],
|
||||
'price' => $model['price'],
|
||||
'ot_price' => $model['price']
|
||||
]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user