diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index 58eae9a..34114c8 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -1208,9 +1208,9 @@ class PatientOrderService extends BaseService // 实际支付金额=商品总金额-优惠卷金额+运费金额 $payment_amount_total = bcadd(bcsub($amount_total , $coupon_amount_total,2), $logistics_fee, 2); -// if ($app_env == "dev") { -// $payment_amount_total = 0.01; -// } + if ($app_env == "dev") { + $payment_amount_total = 0.01; + } // 确定支付渠道 // 支付渠道(1:小程序支付 2:微信扫码支付)