add
wangpengfei
2023-07-31 309001358628a493208b6130c3b6088e5749a8d7
router/index.go
@@ -11,17 +11,17 @@
)
type Group struct {
    CurrencyRouter
    QuotationStatusRouter
    RepositoryRouter
    SalesReturnStatusRouter
    AccountIdRouter
    IsInvoiceRouter
    RefundMethodRouter
    ServiceContractTypeRouter
    ServiceContractStatusRouter
    OrderTypeRouter
    ReportSourceRouter
   CurrencyRouter
   QuotationStatusRouter
   RepositoryRouter
   SalesReturnStatusRouter
   AccountIdRouter
   IsInvoiceRouter
   RefundMethodRouter
   ServiceContractTypeRouter
   ServiceContractStatusRouter
   OrderTypeRouter
   ReportSourceRouter
   IsVisitRouter
   SolveRateRouter
   TimelyRateRouter
@@ -69,6 +69,7 @@
   DataRouter
   DepartmentRouter
   SatisfactionRouter
   AssignRouter
}
func InitRouter() *gin.Engine {
@@ -146,17 +147,18 @@
      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.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)
   }
   return Router
}
}