| | |
| | | ) |
| | | |
| | | 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 |
| | |
| | | DataRouter |
| | | DepartmentRouter |
| | | SatisfactionRouter |
| | | AssignRouter |
| | | } |
| | | |
| | | func InitRouter() *gin.Engine { |
| | |
| | | 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 |
| | | } |
| | | } |