zhangguidong %!s(int64=2) %!d(string=hai) anos
pai
achega
b5359fab82
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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' => '订单退款',
                 ];