router/index.go
@@ -11,6 +11,7 @@ ) type Group struct { TimelyRateRouter BaseRouter UserRouter JwtRouter @@ -55,7 +56,6 @@ DataRouter DepartmentRouter SatisfactionRouter TimelyRateRouter } func InitRouter() *gin.Engine { @@ -130,7 +130,7 @@ routerGroup.InitDataRouter(PrivateGroup) // 注册data路由 routerGroup.InitDepartmentRouter(PrivateGroup) // 注册department路由 routerGroup.InitSatisfactionRouter(PrivateGroup) // 注册satisfaction路由 routerGroup.InitTimelyRateRouter(PrivateGroup) // 注册timelyRate路由 routerGroup.InitTimelyRateRouter(PrivateGroup) } return Router }