Merge branch 'add_refund_log' into test
This commit is contained in:
commit
87754b151b
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue