From 8482b50544200fa580ec4bbe64beae99cfdea733 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 9 Nov 2023 09:39:06 +0800 Subject: [PATCH] 1 --- app/Services/PatientOrderService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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:微信扫码支付)