fix
wangpengfei
2023-08-15 a86df1054649f0594e4c77174fd254b8abd800ca
router/index.go
@@ -11,6 +11,20 @@
)
type Group struct {
   CurrencyRouter
   QuotationStatusRouter
   RepositoryRouter
   SalesReturnStatusRouter
   AccountIdRouter
   IsInvoiceRouter
   RefundMethodRouter
   ServiceContractTypeRouter
   ServiceContractStatusRouter
   OrderTypeRouter
   ReportSourceRouter
   IsVisitRouter
   SolveRateRouter
   TimelyRateRouter
   BaseRouter
   UserRouter
   JwtRouter
@@ -55,7 +69,8 @@
   DataRouter
   DepartmentRouter
   SatisfactionRouter
   TimelyRateRouter
   AssignRouter
   CollectionProjectionRouter
}
func InitRouter() *gin.Engine {
@@ -130,7 +145,39 @@
      routerGroup.InitDataRouter(PrivateGroup)                 // 注册data路由
      routerGroup.InitDepartmentRouter(PrivateGroup)           // 注册department路由
      routerGroup.InitSatisfactionRouter(PrivateGroup)         // 注册satisfaction路由
      routerGroup.InitTimelyRateRouter(PrivateGroup)           // 注册timelyRate路由
      routerGroup.InitTimelyRateRouter(PrivateGroup)
      routerGroup.InitSolveRateRouter(PrivateGroup)
      routerGroup.InitIsVisitRouter(PrivateGroup)
      routerGroup.InitReportSourceRouter(PrivateGroup)
      routerGroup.InitOrderTypeRouter(PrivateGroup)
      routerGroup.InitServiceContractStatusRouter(PrivateGroup)
      routerGroup.InitServiceContractTypeRouter(PrivateGroup)
      routerGroup.InitRefundMethodRouter(PrivateGroup)
      routerGroup.InitIsInvoiceRouter(PrivateGroup)
      routerGroup.InitAccountIdRouter(PrivateGroup)
      routerGroup.InitSalesReturnStatusRouter(PrivateGroup)
      routerGroup.InitRepositoryRouter(PrivateGroup)
      routerGroup.InitQuotationStatusRouter(PrivateGroup)
      routerGroup.InitCurrencyRouter(PrivateGroup)
      routerGroup.InitAssignRouter(PrivateGroup)
      InitServiceOrderRouter(PrivateGroup)
      InitFaqRouter(PrivateGroup)
      InitPriorityLevelRouter(PrivateGroup)
      InitServiceTypeRouter(PrivateGroup)
      InitSeverityRouter(PrivateGroup)
      InitTimeSpentRouter(PrivateGroup)
      InitFaultTypeRouter(PrivateGroup)
      InitServiceCollectionPlanRouter(PrivateGroup)
      InitReceiptRouter(PrivateGroup)
      InitBankAccountRouter(PrivateGroup)
      InitPaymentTypeRouter(PrivateGroup)
      InitFileRouter(PrivateGroup)
      InitInvoiceRouter(PrivateGroup)
      InitInvoiceStatusRouter(PrivateGroup)
      InitInvoiceTypeRouter(PrivateGroup)
      InitCourierCompanyRouter(PrivateGroup)
      InitProductRouter(PrivateGroup)
      routerGroup.InitCollectionProjectionRouter(PrivateGroup)
   }
   return Router
}