Merge pull request '1' (#190) from feat-IRONFANS-66-Robin into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/190
This commit is contained in:
commit
0dba8132b0
|
@ -468,7 +468,7 @@ func ReplyErrCodeMsgAndDetail(ctx *gin.Context, ec errcode.ErrCode, params ...an
|
||||||
ctx.AbortWithStatusJSON(http.StatusOK, base.BaseResponse{
|
ctx.AbortWithStatusJSON(http.StatusOK, base.BaseResponse{
|
||||||
Ret: consts.RetCodeFail,
|
Ret: consts.RetCodeFail,
|
||||||
ErrCode: ec,
|
ErrCode: ec,
|
||||||
Msg: fmt.Sprintf(errcode.ErrCodeMsgMap[ec], params),
|
Msg: fmt.Sprintf(errcode.ErrCodeMsgMap[ec], params...),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue