moonsflyer 4 luni în urmă
părinte
comite
c09ae0b661
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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([
                 $result = $pay->refund([
                     'transaction_id'    => $order['transaction_id'],
                     'transaction_id'    => $order['transaction_id'],
                     'refund_sn'         => 'mixed_refund_' . $order['sn'] . '_' . time(),
                     'refund_sn'         => 'mixed_refund_' . $order['sn'] . '_' . time(),
-                    'total_fee'         => $wechatAmount,
+                    'total_fee'         => round($wechatAmount,2),
                     'refund_fee'        => $refundWechatAmount,
                     'refund_fee'        => $refundWechatAmount,
                 ]);
                 ]);