|
@@ -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' => '退款',
|
|
|
]);
|