moonsflyer hai 5 meses
pai
achega
f9853df52d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(