From 36c7aa2d5a27eab75099a5c84bcfba0ed2c2ca23 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 10 Dec 2024 15:16:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E8=BF=90=E8=B4=B9?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E5=BA=94=E7=94=A8=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了对 $find['top_cate_id'] 的判断条件 - 简化了对 $user_ship 的判断逻辑,仅保留对值为 4 的情况 --- app/store/lists/cart/CartList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/lists/cart/CartList.php b/app/store/lists/cart/CartList.php index fd8378996..c6e73819b 100644 --- a/app/store/lists/cart/CartList.php +++ b/app/store/lists/cart/CartList.php @@ -82,7 +82,7 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists $item['price'] = $find['cost']; } else { $item['price'] = $find['price']; - if ($find['top_cate_id'] == 15189 && in_array($user_ship,[4,5])) { + if ($user_ship==4) { $item['price'] = $find['cost']; } }