From 25fcc66e4c844306489dcfec6880004157a2dff7 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 20 七月 2023 17:24:47 +0800
Subject: [PATCH] fix

---
 router/index.go |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/router/index.go b/router/index.go
index f0fe7b7..19ce012 100644
--- a/router/index.go
+++ b/router/index.go
@@ -49,6 +49,12 @@
 	OrderManageRouter
 	ServiceFollowupRouter
 	CustomerServiceSheetRouter
+	ServiceFeeManageRouter
+	AuthorityRouter
+	MenuRouter
+	DataRouter
+	DepartmentRouter
+	SatisfactionRouter
 }
 
 func InitRouter() *gin.Engine {
@@ -76,7 +82,9 @@
 	}
 
 	PrivateGroup := Router.Group("api")
+	//PrivateGroup.Use(middleware.JWTAuth()).Use(middleware.CasbinHandler())
 	//PrivateGroup.Use(middleware.JWTAuth())
+	//PrivateGroup.Use(middleware.CasbinHandler())
 	{
 		routerGroup.InitJwtRouter(PrivateGroup)                  // jwt鐩稿叧璺敱
 		routerGroup.InitUserRouter(PrivateGroup)                 // 娉ㄥ唽鐢ㄦ埛璺敱
@@ -115,6 +123,12 @@
 		routerGroup.InitOrderManageRouter(PrivateGroup)          // 娉ㄥ唽orderManage璺敱
 		routerGroup.InitServiceFollowupRouter(PrivateGroup)      // 娉ㄥ唽serviceFollowup璺敱
 		routerGroup.InitCustomerServiceSheetRouter(PrivateGroup) // 娉ㄥ唽customerServiceSheet璺敱
+		routerGroup.InitServiceFeeManageRouter(PrivateGroup)     // 娉ㄥ唽serviceFeeManage璺敱
+		routerGroup.InitAuthorityRouter(PrivateGroup)            // 娉ㄥ唽authority璺敱
+		routerGroup.InitMenuRouter(PrivateGroup)                 // 娉ㄥ唽menu璺敱
+		routerGroup.InitDataRouter(PrivateGroup)                 // 娉ㄥ唽data璺敱
+		routerGroup.InitDepartmentRouter(PrivateGroup)           // 娉ㄥ唽department璺敱
+		routerGroup.InitSatisfactionRouter(PrivateGroup)         // 娉ㄥ唽satisfaction璺敱
 	}
 	return Router
 }

--
Gitblit v1.8.0