zangkai 5 سال پیش
والد
کامیت
77af54183d

+ 0 - 5
backend/src/dashoo.cn/modi_webapi/app/api/information/information.go

@@ -12,11 +12,6 @@ import (
 type Controller struct {
 }
 
-// 注册请求参数,用于前后端交互参数格式约定
-type GetListRequest struct {
-	information.SearchReq
-}
-
 //保存及修改信息
 func (c *Controller) Save(r *ghttp.Request) {
 	// tenant 租户模式

+ 4 - 3
backend/src/dashoo.cn/modi_webapi/router/router.go

@@ -47,11 +47,11 @@ func init() {
 		{"ALL", "/permission", new(permission.Controller)},
 		{"ALL", "/organize", new(organize.Controller)},
 		{"ALL", "/menu", new(menu.Controller)},
-		{"All", "/instrument", new ( instrument.Controller) },
+		{"All", "/instrument", new(instrument.Controller)},
 		// 班级管理
-		{"All", "/class", new ( class.Controller) },
+		{"All", "/class", new(class.Controller)},
 		// 值班表管理
-		{"All", "/duty", new ( duty.Controller) },
+		{"All", "/duty", new(duty.Controller)},
 		// 配置测试路由
 		//{"ALL", "/class", new(demo.ClassController)},
 		//{"ALL", "/student", new(demo.StudentController)},
@@ -65,6 +65,7 @@ func init() {
 		{"ALL", "/itemdetail", new(ItemDetail.ItemDetailController)},
 		// ====== 08-12 add 配置字典相关 e =====
 
+		//信息发布controller
 		{"ALL", "/information", new(information.Controller)},
 	})