修改微信退款的错误

This commit is contained in:
lewis 2025-01-08 10:15:55 +08:00
parent a001ab233c
commit d2c7c7d74d

View File

@ -22,7 +22,7 @@ class WeChatPay extends PayTool
'out_refund_no' => 'BO' . time(),
'amount' => [
'refund' => $totalFee,
'total' => $order['pay_price'],
'total' => (int)bcmul($order['pay_price'], 100),
'currency' => 'CNY',
],
];