pkg/contextx/contextx.go @@ -42,7 +42,7 @@ if params != nil { if err := r.ctx.ShouldBind(params); err != nil { logx.Errorf("bind param error: %v", err.Error()) r.Fail(ecode.ParamsErr) r.FailWithMsg(ecode.ParamsErr, err.Error()) return } }