diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index d831fe2..6af2b64 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -854,7 +854,7 @@ class PatientOrderService extends BaseService $result['payment_amount_total'] = $order_detection['amount_total']; // 实际订单金额 $result['coupon_amount_total'] = 0; // 优惠金额 - if ($order_detection['payment_amount_total'] > 0) { + if ($order_detection['amount_total'] > 0) { // 发起支付 $WechatPay = new WechatPay(1, 3);