This commit is contained in:
suguo.yao 2022-10-18 14:17:50 +08:00
parent 16332db3f0
commit bbbef7c11f
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func SetupRouter() *gin.Engine {
// 分组管理 中间件管理 // 分组管理 中间件管理
router.Use(middleware.Cors(), middleware.Exception()) router.Use(middleware.Cors(), middleware.Exception())
router.GET("/", controller.Query) router.POST("/", controller.Query)
group := router.Group("/api", handlers...) group := router.Group("/api", handlers...)
{ {
InitBaseRouter(group) // 基础管理 InitBaseRouter(group) // 基础管理