This commit is contained in:
wucongxing 2023-11-09 09:39:06 +08:00
parent 015e37ce5d
commit 8482b50544

View File

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