Documentation
¶
Index ¶
- func GetGroupUsers(groupname []string) []string
- func GetGroupsMap() util.Lock
- func GetGroupsSelect() string
- func GetUserDept(username string) []string
- func GetUserSelect() string
- type GroupsController
- func (this *GroupsController) GetGroupsMap()
- func (this *GroupsController) GetGroupsName()
- func (this *GroupsController) GroupsAdd()
- func (this *GroupsController) GroupsData()
- func (this *GroupsController) GroupsDelete()
- func (this *GroupsController) GroupsList()
- func (this *GroupsController) GroupsSave()
- type UserController
- func (this *UserController) UserAdd()
- func (this *UserController) UserData()
- func (this *UserController) UserDataName()
- func (this *UserController) UserDatas()
- func (this *UserController) UserDelete()
- func (this *UserController) UserList()
- func (this *UserController) UserSave()
- func (this *UserController) UserToken()
- type UserPermController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GroupsController ¶
type GroupsController struct {
beego.Controller
}
func (*GroupsController) GetGroupsMap ¶
func (this *GroupsController) GetGroupsMap()
部门团队名称数据 @router /api/groups/map [get]
func (*GroupsController) GetGroupsName ¶
func (this *GroupsController) GetGroupsName()
部门团队名称数据 @router /api/groups/name [get]
func (*GroupsController) GroupsAdd ¶
func (this *GroupsController) GroupsAdd()
部门团队管理添加页面 @router /users/groups/add [get]
func (*GroupsController) GroupsData ¶
func (this *GroupsController) GroupsData()
部门团队数据 @router /api/groups [get]
func (*GroupsController) GroupsDelete ¶
func (this *GroupsController) GroupsDelete()
json 删除部门团队 2018-01-20 10:46 @router /api/groups/:id:int [delete]
func (*GroupsController) GroupsList ¶
func (this *GroupsController) GroupsList()
部门团队管理入口页面 @router /users/groups/list [get]
func (*GroupsController) GroupsSave ¶
func (this *GroupsController) GroupsSave()
string 部门团队保存 @router /api/groups [post]
type UserController ¶
type UserController struct {
beego.Controller
}
func (*UserController) UserAdd ¶
func (this *UserController) UserAdd()
用户管理添加页面 @router /users/user/add [get]
func (*UserController) UserData ¶
func (this *UserController) UserData()
获取用户数据 2018-01-20 12:56 router /api/users [get]
func (*UserController) UserDataName ¶
func (this *UserController) UserDataName()
获取用户数据 2018-01-20 17:45 router /api/users/name [get]
func (*UserController) UserDatas ¶
func (this *UserController) UserDatas()
用户数据 @router /api/user [get]
func (*UserController) UserDelete ¶
func (this *UserController) UserDelete()
json 删除用户 2018-01-20 17:46 @router /api/user/:id:int [delete]
func (*UserController) UserList ¶
func (this *UserController) UserList()
用户管理入口页面 @router /users/user/list [get]
func (*UserController) UserSave ¶
func (this *UserController) UserSave()
string 用户保存 @router /api/user [post]
func (*UserController) UserToken ¶
func (this *UserController) UserToken()
获取用户token 2018-08-28 09:12 @router /system/users/user/token/:id:int [get]
type UserPermController ¶
type UserPermController struct {
beego.Controller
}
func (*UserPermController) PermAdd ¶
func (this *UserPermController) PermAdd()
权限管理添加页面 @router /system/users/perm/add [get]
func (*UserPermController) PermData ¶
func (this *UserPermController) PermData()
2018-08-23 08:46 权限数据 @router /api/users/perm [get]
func (*UserPermController) PermDelete ¶
func (this *UserPermController) PermDelete()
json 删除权限 2018-08-23 09:10 @router /api/users/perm/:id:int [delete]
func (*UserPermController) PermList ¶
func (this *UserPermController) PermList()
权限管理入口页面 @router /system/users/perm/list [get]
func (*UserPermController) PermSave ¶
func (this *UserPermController) PermSave()
string 权限保存 @router /api/users/perm [post]