withdarw sub msg
This commit is contained in:
parent
cce6f9976c
commit
a2c9915525
|
@ -2055,6 +2055,9 @@ func (v *Vas) WithdrawApply(ctx *gin.Context, req *vasproto.WithdrawApplyReq) (t
|
||||||
transferResp, err = alipayCli.UniTransfer(ctx, transferParam)
|
transferResp, err = alipayCli.UniTransfer(ctx, transferParam)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error("UniTransfer fail, param: %v, resp: %v, err: %v", util.ToJson(transferParam), util.ToJson(transferResp), err)
|
logger.Error("UniTransfer fail, param: %v, resp: %v, err: %v", util.ToJson(transferParam), util.ToJson(transferResp), err)
|
||||||
|
if transferResp != nil {
|
||||||
|
err = fmt.Errorf("%s", transferResp.Response.SubMsg)
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if transferResp == nil {
|
if transferResp == nil {
|
||||||
|
|
Loading…
Reference in New Issue