From b6f9dbcbf6a7418afdde989371f6a55ae8d3c878 Mon Sep 17 00:00:00 2001 From: qhd <1766646056@qq.com> Date: Thu, 2 Apr 2026 15:17:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8E=BB=E6=8E=89=E8=B7=A8=E5=9F=9F?= =?UTF-8?q?=EF=BC=8C=E5=9C=A8=E7=BD=91=E5=85=B3=E7=BB=9F=E4=B8=80=E5=81=9A?= =?UTF-8?q?=E8=B7=A8=E5=9F=9F=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/router/router.go b/internal/router/router.go index 751b4b3..a09e85e 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -22,7 +22,7 @@ type Router struct{} func (router *Router) BindController(ctx context.Context, group *ghttp.RouterGroup) { group.Group("/api/v1", func(group *ghttp.RouterGroup) { - //跨域处理,安全起见正式环境请注释该行 + //跨域处理,安全起见正式环境请注释该行(在网关统一处理跨域问题) //group.Middleware(commonService.Middleware().MiddlewareCORS) group.Middleware(ghttp.MiddlewareHandlerResponse) // 绑定后台路由