feat-IRONFANS-66-Robin #189

Merged
chenhao merged 5 commits from feat-IRONFANS-66-Robin into main 2024-03-18 23:51:53 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d2f961a2d4 - Show all commits

View File

@ -455,7 +455,7 @@ func ReplyErrCodeMsgAndDetail(ctx *gin.Context, ec errcode.ErrCode, params ...an
ctx.AbortWithStatusJSON(http.StatusOK, base.BaseResponse{
Ret: consts.RetCodeFail,
ErrCode: ec,
Msg: fmt.Sprintf(errcode.ErrCodeMsgMap[ec], params),
Msg: fmt.Sprintf(errcode.ErrCodeMsgMap[ec], params...),
})
}