From 2cbe0fc8a3e8d6532dbe0a17e1c4702e2120556c Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 6 Sep 2024 14:05:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(StoreProductLogic):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BA=86=E5=95=86=E5=93=81=E4=BB=B7=E6=A0=BC=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E9=94=99=E8=AF=AF=20store=5Fid=20=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/logic/store_product/StoreProductLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/logic/store_product/StoreProductLogic.php b/app/admin/logic/store_product/StoreProductLogic.php index 49f45c5b..115890c3 100644 --- a/app/admin/logic/store_product/StoreProductLogic.php +++ b/app/admin/logic/store_product/StoreProductLogic.php @@ -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'],