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; } }