From 158cf2b33b10bfdb8c9066281662f2642211ae1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sat, 3 Jan 2026 22:13:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- router/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/handler.go b/router/handler.go index e842e48..2d16792 100644 --- a/router/handler.go +++ b/router/handler.go @@ -153,7 +153,7 @@ func (s *server) RequestHandler(uriCfg UriConfig) gin.HandlerFunc { } defer s.hook(ctx, uriCfg) // 执行 Logic 之后的相关逻辑 - if handleResult, e = s.callFunc(ctx, uriCfg, inputValue); nil != e { + if handleResult, e = s.callFunc(ctx, uriCfg, inputValue); nil == e { response.SuccessWithExtension(ctx, handleResult, &define.ResponseOption{ContentType: consts.MimeTypeJson}) return }