feat: 优化表单验证错误信息配置

This commit is contained in:
2025-12-26 10:53:09 +08:00
parent 25cc9564a2
commit 5c04a736c7
3 changed files with 14 additions and 27 deletions

View File

@@ -80,7 +80,7 @@ func (s *server) RequestHandler(uriCfg UriConfig) gin.HandlerFunc {
// 默认请求失败
ctx.Set(consts.GinRequestSuccess, false)
// 初始化响应之后logic
// 初始化响应之后 logic
logicAfterResponse := &define.LogicAfterResponse{
SuccessHookFuncList: make([]func(ctx *gin.Context), 0),
FailureHookFuncList: make([]func(ctx *gin.Context), 0),