Documentation ¶
Index ¶
- type Common
- type Demo
- func (a *Demo) Create(ctx *context.Context)
- func (a *Demo) Delete(ctx *context.Context)
- func (a *Demo) DeleteMany(ctx *context.Context)
- func (a *Demo) Get(ctx *context.Context)
- func (a *Demo) Query(ctx *context.Context)
- func (a *Demo) QueryPage(ctx *context.Context)
- func (a *Demo) Update(ctx *context.Context)
- type Login
- type Menu
- func (a *Menu) Create(ctx *context.Context)
- func (a *Menu) Delete(ctx *context.Context)
- func (a *Menu) DeleteMany(ctx *context.Context)
- func (a *Menu) Disable(ctx *context.Context)
- func (a *Menu) Enable(ctx *context.Context)
- func (a *Menu) Get(ctx *context.Context)
- func (a *Menu) Query(ctx *context.Context)
- func (a *Menu) QueryPage(ctx *context.Context)
- func (a *Menu) QueryTree(ctx *context.Context)
- func (a *Menu) Update(ctx *context.Context)
- type Role
- func (a *Role) Create(ctx *context.Context)
- func (a *Role) Delete(ctx *context.Context)
- func (a *Role) DeleteMany(ctx *context.Context)
- func (a *Role) Disable(ctx *context.Context)
- func (a *Role) Enable(ctx *context.Context)
- func (a *Role) Get(ctx *context.Context)
- func (a *Role) Query(ctx *context.Context)
- func (a *Role) QueryPage(ctx *context.Context)
- func (a *Role) QuerySelect(ctx *context.Context)
- func (a *Role) Update(ctx *context.Context)
- type User
- func (a *User) Create(ctx *context.Context)
- func (a *User) Delete(ctx *context.Context)
- func (a *User) DeleteMany(ctx *context.Context)
- func (a *User) Disable(ctx *context.Context)
- func (a *User) Enable(ctx *context.Context)
- func (a *User) Get(ctx *context.Context)
- func (a *User) Query(ctx *context.Context)
- func (a *User) QueryPage(ctx *context.Context)
- func (a *User) Update(ctx *context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct { LoginAPI *Login `inject:""` UserAPI *User `inject:""` RoleAPI *Role `inject:""` DemoAPI *Demo `inject:""` MenuAPI *Menu `inject:""` }
Common API模块
type Login ¶
Login 登录管理
func (*Login) GetCurrentUserInfo ¶
GetCurrentUserInfo 获取当前用户信息
func (*Login) QueryCurrentUserMenus ¶
QueryCurrentUserMenus 查询当前用户菜单
Click to show internal directories.
Click to hide internal directories.