master分支初始化

This commit is contained in:
qiyunfanbo126.com 2024-05-07 18:55:11 +08:00
parent 4deb5edc39
commit 213ba47a8b
1 changed files with 4 additions and 5 deletions

View File

@ -5,7 +5,6 @@ package routes
*/ */
import ( import (
"qteam/app/http/controllers" "qteam/app/http/controllers"
"qteam/app/http/controllers/backend"
"qteam/app/http/middlewares" "qteam/app/http/middlewares"
"qteam/app/http/trace" "qteam/app/http/trace"
"qteam/app/utils/metric" "qteam/app/utils/metric"
@ -44,10 +43,10 @@ func RegisterRoute(router *gin.Engine) {
router.NoRoute(controllers.Error404) router.NoRoute(controllers.Error404)
//api版本 //api版本
v1 := router.Group("/v1", middlewares.ValidateRequest()) //v1 := router.Group("/v1", middlewares.ValidateRequest())
{ //{
v1.GET("/login", backend.Login) //
} //}
router.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler)) router.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))