update
This commit is contained in:
parent
dac4a1f32f
commit
02732fc606
@ -262,7 +262,8 @@ async def apply_refund(
|
||||
wechat = WeChatClient()
|
||||
await wechat.apply_refund(
|
||||
order_id=order.order_id,
|
||||
total_amount=int(float(order.pay_amount) * 100), # 转换为分
|
||||
# total_amount=int(float(order.pay_amount) * 100), # 转换为分
|
||||
total_amount=int(1), # 测试 1 分钱
|
||||
reason="用户申请退款"
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user