From a86df1054649f0594e4c77174fd254b8abd800ca Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 15 八月 2023 11:22:10 +0800
Subject: [PATCH] fix
---
router/index.go | 51 +++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 49 insertions(+), 2 deletions(-)
diff --git a/router/index.go b/router/index.go
index cd7916b..8f21017 100644
--- a/router/index.go
+++ b/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
}
--
Gitblit v1.8.0