moonsflyer 5 月之前
父節點
當前提交
f9853df52d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/common/service/pay/MixedPayService.php

+ 1 - 1
app/common/service/pay/MixedPayService.php

@@ -144,7 +144,7 @@ class MixedPayService extends BasePayService
 
             // 创建微信支付订单(金额为剩余需要支付的金额)
             $wechatOrder = $order;
-            $wechatOrder['order_amount'] = $wechatAmount;
+            $wechatOrder['order_amount'] = round($wechatAmount,2);
             $wechatOrder['balance_amount'] = $balanceAmount; // 记录已使用的余额金额
 
             file_put_contents(