From ef130fe37790d4e6e5ff7997252f52c49b414544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=B1=89=E5=BC=BA?= Date: Thu, 14 Mar 2024 16:28:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=E7=BD=91=E7=AB=99=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=9C=80=E6=8E=88=E6=9D=83=EF=BC=8C=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/core/app_server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/core/app_server.go b/api/core/app_server.go index 757e9df2..73b5b0ac 100644 --- a/api/core/app_server.go +++ b/api/core/app_server.go @@ -162,8 +162,7 @@ func authorizeMiddleware(s *AppServer, client *redis.Client) gin.HandlerFunc { strings.HasPrefix(c.Request.URL.Path, "/api/sms/") || strings.HasPrefix(c.Request.URL.Path, "/api/captcha/") || strings.HasPrefix(c.Request.URL.Path, "/api/payment/") || - strings.HasPrefix(c.Request.URL.Path, "/static/") || - c.Request.URL.Path == "/api/admin/config/get" { + strings.HasPrefix(c.Request.URL.Path, "/static/") { c.Next() return }