diff --git a/app/admin/service/dto/sys_menu.go b/app/admin/service/dto/sys_menu.go index 3b623a1..82c5b94 100644 --- a/app/admin/service/dto/sys_menu.go +++ b/app/admin/service/dto/sys_menu.go @@ -10,14 +10,8 @@ import ( // SysMenuSearch 列表或者搜索使用结构体 type SysMenuSearch struct { dto.Pagination `search:"-"` - ParentId int `form:"parentId" search:"type:exact;column:parent_id;table:sys_dept" comment:"上级部门"` //上级部门 - DeptPath string `form:"deptPath" search:"type:exact;column:dept_path;table:sys_dept" comment:""` //路径 - DeptName string `form:"deptName" search:"type:exact;column:dept_name;table:sys_dept" comment:"部门名称"` //部门名称 - Sort int `form:"sort" search:"type:exact;column:sort;table:sys_dept" comment:"排序"` //排序 - Leader string `form:"leader" search:"type:exact;column:leader;table:sys_dept" comment:"负责人"` //负责人 - Phone string `form:"phone" search:"type:exact;column:phone;table:sys_dept" comment:"手机"` //手机 - Email string `form:"email" search:"type:exact;column:email;table:sys_dept" comment:"邮箱"` //邮箱 - Status string `form:"status" search:"type:exact;column:status;table:sys_dept" comment:"状态"` //状态 + Title string `form:"title" search:"type:contains;column:title;table:sys_menu" comment:"菜单名称"` // 菜单名称 + Visible int `form:"visible" search:"type:exact;column:visible;table:sys_menu" comment:"显示状态"` // 显示状态 } func (m *SysMenuSearch) GetNeedSearch() interface{} {