From 0873199876ca5289125d8356d6a5bbc05f37dc5e Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 29 二月 2024 11:42:59 +0800
Subject: [PATCH] 删除无用代码

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

diff --git a/router/router.go b/router/router.go
index e6eb6f7..ebf1ae3 100644
--- a/router/router.go
+++ b/router/router.go
@@ -21,16 +21,6 @@
 
 	urlPrefix := "/api-jl/v1"
 
-	// 缁勭粐绠$悊
-	departmentController := new(controllers.DepartmentController)
-	organizeAPI := r.Group(urlPrefix + "/organize")
-	{
-		organizeAPI.GET("department", departmentController.List)          // 鑾峰彇閮ㄩ棬鍒楄〃
-		organizeAPI.POST("department", departmentController.Add)          // 鏂板閮ㄩ棬
-		organizeAPI.PUT("department/:id", departmentController.Update)    // 淇敼閮ㄩ棬
-		organizeAPI.DELETE("department/:id", departmentController.Delete) // 鍒犻櫎閮ㄩ棬
-	}
-
 	// 璇嶅吀绠$悊
 	DictController := new(controllers.DictController)
 	systemApi := r.Group(urlPrefix + "/system")

--
Gitblit v1.8.0