From d3ff95a6631915cd56ac7f774f5fca297b9f5642 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期三, 26 七月 2023 19:55:32 +0800
Subject: [PATCH] fix
---
router/index.go | 32 +++++++++++++++++++++++++++++---
1 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/router/index.go b/router/index.go
index cd7916b..43f890a 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,6 @@
DataRouter
DepartmentRouter
SatisfactionRouter
- TimelyRateRouter
}
func InitRouter() *gin.Engine {
@@ -130,7 +143,20 @@
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)
}
return Router
-}
+}
\ No newline at end of file
--
Gitblit v1.8.0