From 5f268a60f5cc3fc0336a2cd74afbce041822a34c Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Sat, 6 Jul 2024 10:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/store/lists/cart/CartList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/store/lists/cart/CartList.php b/app/store/lists/cart/CartList.php index 47ab41107..7c06f7e76 100644 --- a/app/store/lists/cart/CartList.php +++ b/app/store/lists/cart/CartList.php @@ -107,6 +107,7 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists 'pay_price' => $this->total_price ]; if ($this->off_activity == 1) { + $this->activity_price = $this->total_price; $data['pay_price'] = $this->activity_price; if ($this->activity_price < 500) { $data['msg'] = '还差' . bcsub(500, $this->activity_price, 2) . '元可获得10%品牌礼品券';