zhangguidong 2 anni fa
parent
commit
a4436afc06
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      application/admin/controller/Goodorder.php

+ 1 - 1
application/admin/controller/Goodorder.php

@@ -102,7 +102,7 @@ class Goodorder extends Backend
 
                 $app = Factory::payment($config);
                 $refund_no = 'TK' . pay_no(999);
-                $result = $app->refund->byOutTradeNumber($row['pay_no'], $refund_no, $row['total'], $params['refund_money'], [
+                $result = $app->refund->byOutTradeNumber($row['pay_no'], $refund_no, $row['total']*100, $params['refund_money']*100, [
                     // 可在此处传入其他参数,详细参数见微信支付文档
                     'refund_desc' => '退款',
                 ]);