等级和调用支付

This commit is contained in:
liu 2024-06-05 18:44:18 +08:00
parent cf4fc46757
commit 750f54b453

View File

@ -39,6 +39,9 @@ class PaymentLogic extends BaseLogic
return ['pay_way' => PayEnum::BALANCE_PAY]; return ['pay_way' => PayEnum::BALANCE_PAY];
} }
try { try {
if(isset($order['price'])){
$order['pay_price'] = $order['price'];
}
switch ($payWay) { switch ($payWay) {
case PayEnum::WECHAT_PAY: case PayEnum::WECHAT_PAY:
$auth = UserAuth::where(['user_id' => $order['uid'], 'terminal' => $terminal])->findOrEmpty(); $auth = UserAuth::where(['user_id' => $order['uid'], 'terminal' => $terminal])->findOrEmpty();