From 672c01a2e4708bbb2c3e2acc2f212db91162325b Mon Sep 17 00:00:00 2001 From: futuresnail <1364706201@qq.com> Date: Mon, 29 Apr 2024 21:22:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=A1=86=E6=9E=B6=E8=AF=BB?= =?UTF-8?q?=E5=8F=96body?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/core/app_server.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/core/app_server.go b/api/core/app_server.go index 2fca4ea7..76689b4c 100644 --- a/api/core/app_server.go +++ b/api/core/app_server.go @@ -232,6 +232,10 @@ func needLogin(c *gin.Context) bool { // 统一参数处理 func parameterHandlerMiddleware() gin.HandlerFunc { return func(c *gin.Context) { + if strings.Contains(c.Request.URL.Path, "notify") { + c.Next() + return + } // GET 参数处理 params := c.Request.URL.Query() for key, values := range params {