Merge pull request 'fix(StoreProductLogic): 修复了商品价格更新时的错误 store_id 条件' (#195) from dev into main
Reviewed-on: #195
This commit is contained in:
commit
1617b0aa35
@ -221,7 +221,7 @@ class StoreProductLogic extends BaseLogic
|
||||
|
||||
// $dealCate = self::dealChangeCate($params['cate_id']);
|
||||
//修改
|
||||
StoreBranchProduct::where('product_id', $params['id'])->update([
|
||||
StoreBranchProduct::where('product_id', $params['id'])->whereNotIn('store_id',[17,18])->update([
|
||||
'price' => $params['price'],
|
||||
'vip_price' => $params['vip_price'],
|
||||
'cost' => $params['cost'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user