withdarw sub msg

This commit is contained in:
lwl0608 2024-08-06 11:40:02 +08:00
parent cce6f9976c
commit a2c9915525
1 changed files with 3 additions and 0 deletions

View File

@ -2055,6 +2055,9 @@ func (v *Vas) WithdrawApply(ctx *gin.Context, req *vasproto.WithdrawApplyReq) (t
transferResp, err = alipayCli.UniTransfer(ctx, transferParam)
if err != nil {
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
}
if transferResp == nil {