From d02691ccd14b9d667e339b236956693e2e6b5a64 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 2 Apr 2025 16:11:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20app/api/lists/order/CartLi?= =?UTF-8?q?st.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/lists/order/CartList.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/api/lists/order/CartList.php b/app/api/lists/order/CartList.php index b01a0607..00adc9a4 100644 --- a/app/api/lists/order/CartList.php +++ b/app/api/lists/order/CartList.php @@ -84,6 +84,9 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists } if ($off_activity == 0 && $user_ship == 5 && $product['top_cate_id'] == 15189) { $product['price'] = $product['cost']; + } + if ($user_ship == 4 ) { + $product['price'] = $product['cost']; } $item['goods_total_price'] = bcmul($item['cart_num'], $product['price'], 2); $this->total_price = bcadd($this->total_price, $item['goods_total_price'], 2);