From ba6d76de7ec6807d430d6ca586bde158a48f69a6 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 2 Apr 2025 16:12:02 +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..877df8ca 100644 --- a/app/api/lists/order/CartList.php +++ b/app/api/lists/order/CartList.php @@ -85,6 +85,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); $item['batch'] = $product['batch'];