diff --git a/app/api/endpoints/merchant_order.py b/app/api/endpoints/merchant_order.py index ee76c7f..def7228 100644 --- a/app/api/endpoints/merchant_order.py +++ b/app/api/endpoints/merchant_order.py @@ -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="用户申请退款" )