router/index.go
@@ -54,6 +54,7 @@ MenuRouter DataRouter DepartmentRouter SatisfactionRouter } func InitRouter() *gin.Engine { @@ -127,6 +128,7 @@ routerGroup.InitMenuRouter(PrivateGroup) // 注册menu路由 routerGroup.InitDataRouter(PrivateGroup) // 注册data路由 routerGroup.InitDepartmentRouter(PrivateGroup) // 注册department路由 routerGroup.InitSatisfactionRouter(PrivateGroup) // 注册satisfaction路由 } return Router }