fix(StoreProductLogic): 修复了商品价格更新时的错误 store_id 条件
This commit is contained in:
parent
816521c6be
commit
2cbe0fc8a3
@ -221,7 +221,7 @@ class StoreProductLogic extends BaseLogic
|
|||||||
|
|
||||||
// $dealCate = self::dealChangeCate($params['cate_id']);
|
// $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'],
|
'price' => $params['price'],
|
||||||
'vip_price' => $params['vip_price'],
|
'vip_price' => $params['vip_price'],
|
||||||
'cost' => $params['cost'],
|
'cost' => $params['cost'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user