This commit is contained in:
lwl0608 2024-07-31 14:32:25 +08:00
parent 69566632ae
commit aa0794287a
2 changed files with 2 additions and 0 deletions

View File

@ -254,6 +254,7 @@ func (c *AlipayClient) RefundOne(ctx context.Context, param *RefundOneParam) (re
"refund_reason": param.RefundReason,
}
resp, err = c.TradeRefund(ctx, bm)
logger.Info("RefundOne bm: %v, resp: %v", util.ToJson(bm), util.ToJson(resp))
if err != nil {
return
}

View File

@ -331,6 +331,7 @@ func (c *WxpayClient) RefundOne(ctx context.Context, param *RefundOneParam) (res
},
}
resp, err = c.clientV3.V3Refund(ctx, bm)
logger.Info("RefundOne bm: %v, resp: %v", util.ToJson(bm), util.ToJson(resp))
if err != nil {
return
}