From 213ba47a8b36ee06f637fd23afdb69711b40beaa Mon Sep 17 00:00:00 2001 From: "qiyunfanbo126.com" <815699> Date: Tue, 7 May 2024 18:55:11 +0800 Subject: [PATCH] =?UTF-8?q?master=E5=88=86=E6=94=AF=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/http/routes/route.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/http/routes/route.go b/app/http/routes/route.go index c8d4b5e..5972f7a 100644 --- a/app/http/routes/route.go +++ b/app/http/routes/route.go @@ -5,7 +5,6 @@ package routes */ import ( "qteam/app/http/controllers" - "qteam/app/http/controllers/backend" "qteam/app/http/middlewares" "qteam/app/http/trace" "qteam/app/utils/metric" @@ -44,10 +43,10 @@ func RegisterRoute(router *gin.Engine) { router.NoRoute(controllers.Error404) //api版本 - v1 := router.Group("/v1", middlewares.ValidateRequest()) - { - v1.GET("/login", backend.Login) - } + //v1 := router.Group("/v1", middlewares.ValidateRequest()) + //{ + // + //} router.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))