moonsflyer 4 ماه پیش
والد
کامیت
c09ae0b661
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/common/service/pay/MixedPayService.php

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

@@ -283,7 +283,7 @@ class MixedPayService extends BasePayService
                 $result = $pay->refund([
                     'transaction_id'    => $order['transaction_id'],
                     'refund_sn'         => 'mixed_refund_' . $order['sn'] . '_' . time(),
-                    'total_fee'         => $wechatAmount,
+                    'total_fee'         => round($wechatAmount,2),
                     'refund_fee'        => $refundWechatAmount,
                 ]);