This commit is contained in:
aaron 2025-04-03 18:17:45 +08:00
parent 32d85cf692
commit 090d935f56
2 changed files with 2 additions and 2 deletions

View File

@ -906,7 +906,7 @@ async def cancel_order(
db.commit()
if order.final_amount > 0:
if order.transaction_id:
wechat = WeChatClient()
await wechat.apply_refund(
order_id=order.orderid,
@ -1168,7 +1168,7 @@ async def deliveryman_cancel_order(
db.commit()
if order.final_amount > 0:
if order.transaction_id:
wechat = WeChatClient()
await wechat.apply_refund(
order_id=order.orderid,

Binary file not shown.