Documentation ¶
Index ¶
- type BackendUserController
- type BaseController
- type CourseController
- type HomeController
- type MainController
- type ResourceController
- func (c *ResourceController) CheckUrlFor()
- func (c *ResourceController) Delete()
- func (c *ResourceController) Edit()
- func (c *ResourceController) Index()
- func (c *ResourceController) ParentTreeGrid()
- func (c *ResourceController) Prepare()
- func (c *ResourceController) Save()
- func (c *ResourceController) Select()
- func (c *ResourceController) TreeGrid()
- func (c *ResourceController) UpdateSeq()
- func (c *ResourceController) UrlFor2Link(src []*models.Resource)
- func (c *ResourceController) UrlFor2LinkOne(urlfor string) string
- func (c *ResourceController) UserMenuTree()
- type RoleController
- func (c *RoleController) Allocate()
- func (c *RoleController) DataGrid()
- func (c *RoleController) DataList()
- func (c *RoleController) Delete()
- func (c *RoleController) Edit()
- func (c *RoleController) Index()
- func (c *RoleController) Prepare()
- func (c *RoleController) Save()
- func (c *RoleController) UpdateSeq()
- type UserCenterController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendUserController ¶
type BackendUserController struct {
BaseController
}
func (*BackendUserController) DataGrid ¶
func (c *BackendUserController) DataGrid()
func (*BackendUserController) Delete ¶
func (c *BackendUserController) Delete()
func (*BackendUserController) Index ¶
func (c *BackendUserController) Index()
func (*BackendUserController) Prepare ¶
func (c *BackendUserController) Prepare()
func (*BackendUserController) Save ¶
func (c *BackendUserController) Save()
type BaseController ¶
type BaseController struct { beego.Controller // contains filtered or unexported fields }
func (*BaseController) Prepare ¶
func (c *BaseController) Prepare()
type CourseController ¶
type CourseController struct {
BaseController
}
CourseController 课程管理
func (*CourseController) UpdateSeq ¶
func (c *CourseController) UpdateSeq()
func (*CourseController) UploadImage ¶
func (c *CourseController) UploadImage()
type HomeController ¶
type HomeController struct {
BaseController
}
func (*HomeController) DataReset ¶
func (c *HomeController) DataReset()
func (*HomeController) DoLogin ¶
func (c *HomeController) DoLogin()
func (*HomeController) Error ¶
func (c *HomeController) Error()
func (*HomeController) Index ¶
func (c *HomeController) Index()
func (*HomeController) Login ¶
func (c *HomeController) Login()
func (*HomeController) Logout ¶
func (c *HomeController) Logout()
func (*HomeController) Page404 ¶
func (c *HomeController) Page404()
type MainController ¶
type MainController struct {
beego.Controller
}
func (*MainController) Get ¶
func (c *MainController) Get()
type ResourceController ¶
type ResourceController struct {
BaseController
}
func (*ResourceController) CheckUrlFor ¶
func (c *ResourceController) CheckUrlFor()
CheckUrlFor 填写UrlFor时进行验证
func (*ResourceController) Index ¶
func (c *ResourceController) Index()
func (*ResourceController) ParentTreeGrid ¶
func (c *ResourceController) ParentTreeGrid()
ParentTreeGrid 获取可以成为某节点的父节点列表
func (*ResourceController) Prepare ¶
func (c *ResourceController) Prepare()
func (*ResourceController) UpdateSeq ¶
func (c *ResourceController) UpdateSeq()
func (*ResourceController) UrlFor2Link ¶
func (c *ResourceController) UrlFor2Link(src []*models.Resource)
UrlFor2Link 使用URLFor方法,批量将资源表里的UrlFor值转成LinkUrl
func (*ResourceController) UrlFor2LinkOne ¶
func (c *ResourceController) UrlFor2LinkOne(urlfor string) string
UrlFor2LinkOne 使用URLFor方法,将资源表里的UrlFor值转成LinkUrl
func (*ResourceController) UserMenuTree ¶
func (c *ResourceController) UserMenuTree()
UserMenuTree 获取用户有权管理的菜单、区域列表
type RoleController ¶
type RoleController struct {
BaseController
}
RoleController 角色管理
func (*RoleController) UpdateSeq ¶
func (c *RoleController) UpdateSeq()
type UserCenterController ¶
type UserCenterController struct {
BaseController
}
func (*UserCenterController) BasicInfoSave ¶
func (c *UserCenterController) BasicInfoSave()
func (*UserCenterController) PasswordSave ¶
func (c *UserCenterController) PasswordSave()
func (*UserCenterController) Prepare ¶
func (c *UserCenterController) Prepare()
func (*UserCenterController) Profile ¶
func (c *UserCenterController) Profile()
func (*UserCenterController) UploadImage ¶
func (c *UserCenterController) UploadImage()
Click to show internal directories.
Click to hide internal directories.