| | |
| | | ServiceFollowupRouter |
| | | CustomerServiceSheetRouter |
| | | ServiceFeeManageRouter |
| | | AuthorityRouter |
| | | MenuRouter |
| | | } |
| | | |
| | | func InitRouter() *gin.Engine { |
| | |
| | | } |
| | | |
| | | PrivateGroup := Router.Group("api") |
| | | //PrivateGroup.Use(middleware.JWTAuth()) |
| | | //PrivateGroup.Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()) |
| | | { |
| | | routerGroup.InitJwtRouter(PrivateGroup) // jwt相关路由 |
| | | routerGroup.InitUserRouter(PrivateGroup) // 注册用户路由 |
| | |
| | | routerGroup.InitServiceFollowupRouter(PrivateGroup) // 注册serviceFollowup路由 |
| | | routerGroup.InitCustomerServiceSheetRouter(PrivateGroup) // 注册customerServiceSheet路由 |
| | | routerGroup.InitServiceFeeManageRouter(PrivateGroup) // 注册serviceFeeManage路由 |
| | | routerGroup.InitAuthorityRouter(PrivateGroup) // 注册authority路由 |
| | | routerGroup.InitMenuRouter(PrivateGroup) // 注册menu路由 |
| | | } |
| | | return Router |
| | | } |