From 7dc95e3cbacffebbcbb8d5fdeb9cb1544604d89b Mon Sep 17 00:00:00 2001 From: momo <1012651275@qq.com> Date: Mon, 28 Aug 2023 15:20:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=96=B0=E7=9A=84=E8=A7=A3=E6=9E=90jwtToke?= =?UTF-8?q?n=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/basic/request_parse.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/basic/request_parse.go b/utils/basic/request_parse.go index 42879699..1c0afdf1 100644 --- a/utils/basic/request_parse.go +++ b/utils/basic/request_parse.go @@ -129,6 +129,7 @@ func RequestParse(w http.ResponseWriter, r *http.Request, svcCtx any, LogicReque Code: 510, Message: err.Error(), }) + return nil, err } // 如果端点有请求结构体,则使用httpx.Parse方法从HTTP请求体中解析请求数据