This commit is contained in:
aaron 2025-02-15 18:28:25 +08:00
parent dac4a1f32f
commit 02732fc606

View File

@ -262,7 +262,8 @@ async def apply_refund(
wechat = WeChatClient() wechat = WeChatClient()
await wechat.apply_refund( await wechat.apply_refund(
order_id=order.order_id, 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="用户申请退款" reason="用户申请退款"
) )