zhangguidong il y a 2 ans
Parent
commit
b5359fab82
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      application/api/controller/Writeoff.php

+ 2 - 2
application/api/controller/Writeoff.php

@@ -187,8 +187,8 @@ class Writeoff extends Api
                 $order = [
                     'out_trade_no' => $order_no,
                     'out_refund_no' => time(),
-                    'total_fee' => $amount,
-                    'refund_fee' => $amount,
+                    'total_fee' => $amount*100,
+                    'refund_fee' => $amount*100,
                     'refund_desc' => '订单退款',
                 ];