From ca086a51564d597847fc9f2c643401e189122f63 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 26 Jun 2024 14:57:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(CartList):=20=E4=BF=AE=E6=94=B9=E8=B4=AD?= =?UTF-8?q?=E7=89=A9=E8=BD=A6=E4=BB=B7=E6=A0=BC=E8=AE=A1=E7=AE=97=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/store/lists/cart/CartList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/store/lists/cart/CartList.php b/app/store/lists/cart/CartList.php index 394edfc7c..83f7939f2 100644 --- a/app/store/lists/cart/CartList.php +++ b/app/store/lists/cart/CartList.php @@ -121,8 +121,8 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists ]; if ($this->off_activity == 1) { $data['pay_price'] = $this->activity_price; - if ($this->total_price < 500) { - $data['msg'] = '还差' . bcsub(500, $this->total_price, 2) . '元可获得10%品牌礼品券'; + if ($this->activity_price < 500) { + $data['msg'] = '还差' . bcsub(500, $this->activity_price, 2) . '元可获得10%品牌礼品券'; $data['pay_price'] = $this->activity_price; } }