修改费活动加兑换券的逻辑

This commit is contained in:
liu 2024-06-27 18:00:04 +08:00
parent 693043303c
commit 5d2719c8f7

View File

@ -350,10 +350,6 @@ class PayNotifyLogic extends BaseLogic
} }
} }
/** /**
@ -794,8 +790,7 @@ class PayNotifyLogic extends BaseLogic
$order['pay_price'] = bcsub($order['pay_price'], $vipFrozenAmount, 2); $order['pay_price'] = bcsub($order['pay_price'], $vipFrozenAmount, 2);
self::dealVipAmount($order, $order['pay_type']); self::dealVipAmount($order, $order['pay_type']);
} }
if($order['total_price'] > 500 && $order['pay_type'] !=18 if($order['total_price'] >= 500 ){
&& $order['pay_type'] !=3){
$user_number = bcmul($order['pay_price'], '0.10', 2); $user_number = bcmul($order['pay_price'], '0.10', 2);
$sing = [ $sing = [
'uid' => $order['uid'], 'uid' => $order['uid'],