Documentation ¶
Index ¶
- type AuthController
- type DeptController
- func (dc DeptController) Add(c *gin.Context)
- func (dc DeptController) Delete(c *gin.Context)
- func (dc DeptController) Edit(c *gin.Context)
- func (DeptController) Index(c *gin.Context)
- func (dc DeptController) List(c *gin.Context)
- func (DeptController) ToAdd(c *gin.Context)
- func (dc DeptController) ToEdit(c *gin.Context)
- func (dc DeptController) Tree(c *gin.Context)
- type IndexController
- type MenuController
- func (mc MenuController) Add(c *gin.Context)
- func (mc MenuController) Edit(c *gin.Context)
- func (MenuController) Index(c *gin.Context)
- func (mc MenuController) List(c *gin.Context)
- func (mc MenuController) Remove(c *gin.Context)
- func (mc MenuController) SelectMenuTreeList(c *gin.Context)
- func (MenuController) ToAdd(c *gin.Context)
- func (mc MenuController) ToEdit(c *gin.Context)
- func (mc MenuController) TreeListByRoleID(c *gin.Context)
- type NoticeController
- func (nc NoticeController) Add(c *gin.Context)
- func (nc NoticeController) Delete(c *gin.Context)
- func (nc NoticeController) Edit(c *gin.Context)
- func (NoticeController) Index(c *gin.Context)
- func (nc NoticeController) List(c *gin.Context)
- func (NoticeController) ToAdd(c *gin.Context)
- func (nc NoticeController) ToEdit(c *gin.Context)
- type RoleController
- func (rc RoleController) Add(c *gin.Context)
- func (rc RoleController) Edit(c *gin.Context)
- func (RoleController) Index(c *gin.Context)
- func (rc RoleController) List(c *gin.Context)
- func (rc RoleController) Remove(c *gin.Context)
- func (rc RoleController) RoleTreeListByUserID(c *gin.Context)
- func (rc RoleController) SetAuthority(c *gin.Context)
- func (RoleController) ToAdd(c *gin.Context)
- func (rc RoleController) ToAssign(c *gin.Context)
- func (rc RoleController) ToEdit(c *gin.Context)
- func (rc RoleController) TreeList(c *gin.Context)
- type UserController
- func (uc UserController) Add(c *gin.Context)
- func (uc UserController) ChangePwd(c *gin.Context)
- func (uc UserController) Delete(c *gin.Context)
- func (uc UserController) Edit(c *gin.Context)
- func (uc UserController) Freeze(c *gin.Context)
- func (UserController) Home(c *gin.Context)
- func (uc UserController) Info(c *gin.Context)
- func (uc UserController) List(c *gin.Context)
- func (uc UserController) Reset(c *gin.Context)
- func (uc UserController) SetRole(c *gin.Context)
- func (UserController) ToAdd(c *gin.Context)
- func (UserController) ToChangePasswd(c *gin.Context)
- func (uc UserController) ToEdit(c *gin.Context)
- func (uc UserController) ToRoleAssign(c *gin.Context)
- func (uc UserController) UnFreeze(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
AuthController handle auth request
func (AuthController) Logout ¶
func (AuthController) Logout(c *gin.Context)
Logout is log out system
type DeptController ¶
DeptController operate dept
type IndexController ¶
IndexController is handle home page request
func (IndexController) BlackBoard ¶
func (ic IndexController) BlackBoard(c *gin.Context)
BlackBoard is handle "/blackboard"
func (IndexController) Home ¶
func (ic IndexController) Home(c *gin.Context)
Home is handle "/" request
type MenuController ¶
MenuController handle menu request
func (MenuController) SelectMenuTreeList ¶
func (mc MenuController) SelectMenuTreeList(c *gin.Context)
SelectMenuTreeList query menu
func (MenuController) TreeListByRoleID ¶
func (mc MenuController) TreeListByRoleID(c *gin.Context)
TreeListByRoleID query menu by roleid
type NoticeController ¶
NoticeController 通知
func (NoticeController) List ¶
func (nc NoticeController) List(c *gin.Context)
List query all notice
func (NoticeController) ToEdit ¶
func (nc NoticeController) ToEdit(c *gin.Context)
ToEdit to edit page
type RoleController ¶
RoleController handle role request
func (RoleController) RoleTreeListByUserID ¶
func (rc RoleController) RoleTreeListByUserID(c *gin.Context)
RoleTreeListByUserID handle user role by userId
func (RoleController) SetAuthority ¶
func (rc RoleController) SetAuthority(c *gin.Context)
SetAuthority set role authority
func (RoleController) ToAssign ¶
func (rc RoleController) ToAssign(c *gin.Context)
ToAssign to assign page
func (RoleController) TreeList ¶
func (rc RoleController) TreeList(c *gin.Context)
TreeList query all role to tree
type UserController ¶
UserController handle user request
func (UserController) ChangePwd ¶
func (uc UserController) ChangePwd(c *gin.Context)
ChangePwd change password
func (UserController) SetRole ¶
func (uc UserController) SetRole(c *gin.Context)
SetRole set user role
func (UserController) ToAdd ¶
func (UserController) ToAdd(c *gin.Context)
ToAdd handle add user page
func (UserController) ToChangePasswd ¶
func (UserController) ToChangePasswd(c *gin.Context)
ToChangePasswd to change password page
func (UserController) ToEdit ¶
func (uc UserController) ToEdit(c *gin.Context)
ToEdit handle edit user paget
func (UserController) ToRoleAssign ¶
func (uc UserController) ToRoleAssign(c *gin.Context)
ToRoleAssign handle user role