router/index.go
@@ -53,6 +53,7 @@ AuthorityRouter MenuRouter DataRouter DepartmentRouter } func InitRouter() *gin.Engine { @@ -125,6 +126,7 @@ routerGroup.InitAuthorityRouter(PrivateGroup) // 注册authority路由 routerGroup.InitMenuRouter(PrivateGroup) // 注册menu路由 routerGroup.InitDataRouter(PrivateGroup) // 注册data路由 routerGroup.InitDepartmentRouter(PrivateGroup) // 注册department路由 } return Router }