add
wangpengfei
2023-07-14 5f00d720ea52ababeb10954da4d33ab6c46e93b7
router/index.go
@@ -50,6 +50,8 @@
   ServiceFollowupRouter
   CustomerServiceSheetRouter
   ServiceFeeManageRouter
   AuthorityRouter
   MenuRouter
}
func InitRouter() *gin.Engine {
@@ -77,7 +79,7 @@
   }
   PrivateGroup := Router.Group("api")
   //PrivateGroup.Use(middleware.JWTAuth())
   //PrivateGroup.Use(middleware.JWTAuth()).Use(middleware.CasbinHandler())
   {
      routerGroup.InitJwtRouter(PrivateGroup)                  // jwt相关路由
      routerGroup.InitUserRouter(PrivateGroup)                 // 注册用户路由
@@ -117,6 +119,8 @@
      routerGroup.InitServiceFollowupRouter(PrivateGroup)      // 注册serviceFollowup路由
      routerGroup.InitCustomerServiceSheetRouter(PrivateGroup) // 注册customerServiceSheet路由
      routerGroup.InitServiceFeeManageRouter(PrivateGroup)     // 注册serviceFeeManage路由
      routerGroup.InitAuthorityRouter(PrivateGroup)            // 注册authority路由
      routerGroup.InitMenuRouter(PrivateGroup)                 // 注册menu路由
   }
   return Router
}