Compare commits
No commits in common. "463da3cef1a25abc967d7faea92407c625695774" and "b9e34a94d95491a9d8c2d718e1440bfd119b2d8d" have entirely different histories.
463da3cef1
...
b9e34a94d9
@ -128,14 +128,14 @@ class StoreProductPriceLogic extends BaseLogic
|
||||
'purchase' => $find['purchase'],
|
||||
'cost' => $find['cost'],
|
||||
'vip_price' => $find['vip_price'],
|
||||
'price' => $find['price'],
|
||||
'price' => $find['vip_price'],
|
||||
'ot_price' => $find['price']
|
||||
]);
|
||||
StoreBranchProduct::where('product_id', $find['product_id'])->update([
|
||||
'purchase' => $find['purchase'],
|
||||
'cost' => $find['cost'],
|
||||
'vip_price' => $find['vip_price'],
|
||||
'price' => $find['price'],
|
||||
'price' => $find['vip_price'],
|
||||
'ot_price' => $find['price']
|
||||
]);
|
||||
|
||||
@ -209,14 +209,14 @@ class StoreProductPriceLogic extends BaseLogic
|
||||
'purchase' => $find['purchase'] ?? 0,
|
||||
'cost' => $find['cost'] ?? 0,
|
||||
'vip_price' => $find['vip_price'] ?? 0,
|
||||
'price' => $find['price'] ?? 0,
|
||||
'price' => $find['vip_price'] ?? 0,
|
||||
'ot_price' => $find['price'] ?? 0,
|
||||
]);
|
||||
StoreBranchProduct::where('product_id', $find['product_id'])->update([
|
||||
'purchase' => $find['purchase'] ?? 0,
|
||||
'cost' => $find['cost'] ?? 0,
|
||||
'vip_price' => $find['vip_price'] ?? 0,
|
||||
'price' => $find['price'] ?? 0,
|
||||
'price' => $find['vip_price'] ?? 0,
|
||||
'ot_price' => $find['price'] ?? 0,
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user