Documentation ¶
Index ¶
- Variables
- type App
- type Demo
- type GPlatform
- func (a *GPlatform) Create(c *gin.Context)
- func (a *GPlatform) Delete(c *gin.Context)
- func (a *GPlatform) Disable(c *gin.Context)
- func (a *GPlatform) Enable(c *gin.Context)
- func (a *GPlatform) Get(c *gin.Context)
- func (a *GPlatform) GetOptions(c *gin.Context)
- func (a *GPlatform) Query(c *gin.Context)
- func (a *GPlatform) Update(c *gin.Context)
- type GTplMall
- func (a *GTplMall) Create(c *gin.Context)
- func (a *GTplMall) Delete(c *gin.Context)
- func (a *GTplMall) Disable(c *gin.Context)
- func (a *GTplMall) Enable(c *gin.Context)
- func (a *GTplMall) Get(c *gin.Context)
- func (a *GTplMall) Mock(c *gin.Context)
- func (a *GTplMall) Publish(c *gin.Context)
- func (a *GTplMall) Query(c *gin.Context)
- func (a *GTplMall) Update(c *gin.Context)
- type Login
- func (a *Login) GetCaptcha(c *gin.Context)
- func (a *Login) GetUserInfo(c *gin.Context)
- func (a *Login) Login(c *gin.Context)
- func (a *Login) Logout(c *gin.Context)
- func (a *Login) Permissions(c *gin.Context)
- func (a *Login) QueryUserMenuTree(c *gin.Context)
- func (a *Login) RefreshToken(c *gin.Context)
- func (a *Login) ResCaptcha(c *gin.Context)
- func (a *Login) UpdatePassword(c *gin.Context)
- type Menu
- func (a *Menu) Create(c *gin.Context)
- func (a *Menu) Delete(c *gin.Context)
- func (a *Menu) Disable(c *gin.Context)
- func (a *Menu) Enable(c *gin.Context)
- func (a *Menu) Get(c *gin.Context)
- func (a *Menu) Query(c *gin.Context)
- func (a *Menu) QueryTree(c *gin.Context)
- func (a *Menu) Update(c *gin.Context)
- type PageManager
- func (a *PageManager) Clone(c *gin.Context)
- func (a *PageManager) Create(c *gin.Context)
- func (a *PageManager) Delete(c *gin.Context)
- func (a *PageManager) Get(c *gin.Context)
- func (a *PageManager) GetByRoute(c *gin.Context)
- func (a *PageManager) GetByRouteWithDetail(c *gin.Context)
- func (a *PageManager) History(c *gin.Context)
- func (a *PageManager) Query(c *gin.Context)
- func (a *PageManager) Revert(c *gin.Context)
- func (a *PageManager) Update(c *gin.Context)
- type PageVersionHistory
- type Role
- func (a *Role) Create(c *gin.Context)
- func (a *Role) Delete(c *gin.Context)
- func (a *Role) Disable(c *gin.Context)
- func (a *Role) Enable(c *gin.Context)
- func (a *Role) Get(c *gin.Context)
- func (a *Role) Query(c *gin.Context)
- func (a *Role) QuerySelect(c *gin.Context)
- func (a *Role) Update(c *gin.Context)
- type Setting
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var APISet = wire.NewSet( DemoSet, LoginSet, MenuSet, RoleSet, UserSet, PageManagerSet, SettingSet, AppSet, )
APISet 注入api
DemoSet 注入Demo
LoginSet 注入Login
MenuSet 注入Menu
View Source
var PageManagerSet = wire.NewSet(wire.Struct(new(PageManager), "*"))
PageManagerSet 注入PageManager
View Source
var PageVersionHistorySet = wire.NewSet(wire.Struct(new(PageVersionHistory), "*"))
PageVersionHistorySet 注入PageVersionHistory
RoleSet 注入Role
SettingSet 注入Setting
UserSet 注入User
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { AppBll bll.IApp MenuBll bll.IMenu PageBll bll.IPageManager SettingBll bll.ISetting GPlatformBll bll.IGPlatform }
应用相关接口
type GPlatform ¶ added in v1.0.1
type GPlatform struct {
GPlatformBll bll.IGPlatform
}
func (*GPlatform) GetOptions ¶ added in v1.0.1
获取select的查询配置
type Login ¶
type Login struct { LoginBll bll.ILogin GPlatformBll bll.IGPlatform }
Login 登录管理
func (*Login) Permissions ¶ added in v1.0.2
func (*Login) QueryUserMenuTree ¶
QueryUserMenuTree 查询当前用户菜单树
type PageManager ¶
type PageManager struct { PageManagerBll bll.IPageManager MenuBll bll.IMenu }
PageManager 用户管理
func (*PageManager) GetByRoute ¶
func (a *PageManager) GetByRoute(c *gin.Context)
GetByRoute 根据路由查询指定数据
func (*PageManager) GetByRouteWithDetail ¶
func (a *PageManager) GetByRouteWithDetail(c *gin.Context)
GetByRouteWithDetail 根据路由查询详细数据
func (*PageManager) History ¶
func (a *PageManager) History(c *gin.Context)
func (*PageManager) Revert ¶
func (a *PageManager) Revert(c *gin.Context)
type PageVersionHistory ¶
type PageVersionHistory struct {
PageVersionHistoryBll bll.IPageVersionHistory
}
PageVersionHistory 用户管理
type Setting ¶
type Setting struct { SettingBll bll.ISetting GPlatformBll bll.IGPlatform }
Setting 示例程序
Source Files ¶
Click to show internal directories.
Click to hide internal directories.