diff --git a/app/api/lists/order/CartList.php b/app/api/lists/order/CartList.php index d46a2133..e71bcf78 100644 --- a/app/api/lists/order/CartList.php +++ b/app/api/lists/order/CartList.php @@ -112,6 +112,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%的品牌礼品兑换券,可到线下门店兑换礼品。'; diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index a6d81319..67bbe2a7 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -598,7 +598,7 @@ class PayNotifyLogic extends BaseLogic } //如果是会员需要返回会员金额 - if ($user_ship>0 && $order['pay_type'] != PayEnum::CASH_PAY) { + if ($user_ship>0 && $order['pay_type'] != PayEnum::CASH_PAY && $off_activity !=1) { $order['dealVipAmount']= self::dealVipAmount($order, $order['pay_type']); } if ($order['spread_uid'] > 0 || $user_ship > 0) {