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:
chenhao 2024-03-18 23:52:22 +08:00
commit 0dba8132b0
1 changed files with 1 additions and 1 deletions

View File

@ -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...),
}) })
} }