Documentation ¶
Index ¶
- type BackendUserController
- type BaseController
- type CourseController
- type CourseWareController
- func (c *CourseWareController) AddFile()
- func (c *CourseWareController) AddFolder()
- func (c *CourseWareController) CheckUrlFor()
- func (c *CourseWareController) Delete()
- func (c *CourseWareController) Edit()
- func (c *CourseWareController) GetAll()
- func (c *CourseWareController) Index()
- func (c *CourseWareController) ParentTreeGrid()
- func (c *CourseWareController) Prepare()
- func (c *CourseWareController) Save()
- func (c *CourseWareController) SaveFile(Id int)
- func (c *CourseWareController) SaveFolder()
- func (c *CourseWareController) Select()
- func (c *CourseWareController) TreeGrid()
- func (c *CourseWareController) UpdateAfterTime()
- func (c *CourseWareController) UpdateSeq()
- func (c *CourseWareController) UploadImage()
- func (c *CourseWareController) UrlFor2Link(src []*models.Resource)
- func (c *CourseWareController) UrlFor2LinkOne(urlfor string) string
- func (c *CourseWareController) UserMenuTree()
- 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 CourseWareController ¶
type CourseWareController struct { BaseController // contains filtered or unexported fields }
func (*CourseWareController) AddFolder ¶
func (c *CourseWareController) AddFolder()
AddFolder 添加文件夹页面
func (*CourseWareController) CheckUrlFor ¶
func (c *CourseWareController) CheckUrlFor()
CheckUrlFor 填写UrlFor时进行验证
func (*CourseWareController) Index ¶
func (c *CourseWareController) Index()
func (*CourseWareController) ParentTreeGrid ¶
func (c *CourseWareController) ParentTreeGrid()
ParentTreeGrid 获取可以成为某节点的父节点列表
func (*CourseWareController) Prepare ¶
func (c *CourseWareController) Prepare()
func (*CourseWareController) SaveFile ¶
func (c *CourseWareController) SaveFile(Id int)
SaveFile 保存文件
func (*CourseWareController) SaveFolder ¶
func (c *CourseWareController) SaveFolder()
SaveFolder 保存文件夹
func (*CourseWareController) TreeGrid ¶
func (c *CourseWareController) TreeGrid()
TreeGrid 获取文件夹中所有资源的列表
func (*CourseWareController) UpdateAfterTime ¶
func (c *CourseWareController) UpdateAfterTime()
UpdateAfterTime 获取指定时间之后的所有更新路径与图片
func (*CourseWareController) UpdateSeq ¶
func (c *CourseWareController) UpdateSeq()
func (*CourseWareController) UploadImage ¶
func (c *CourseWareController) UploadImage()
UploadImage 上传图片
func (*CourseWareController) UrlFor2Link ¶
func (c *CourseWareController) UrlFor2Link(src []*models.Resource)
UrlFor2Link 使用URLFor方法,批量将资源表里的UrlFor值转成LinkUrl
func (*CourseWareController) UrlFor2LinkOne ¶
func (c *CourseWareController) UrlFor2LinkOne(urlfor string) string
UrlFor2LinkOne 使用URLFor方法,将资源表里的UrlFor值转成LinkUrl
func (*CourseWareController) UserMenuTree ¶
func (c *CourseWareController) UserMenuTree()
UserMenuTree 获取用户有权管理的菜单、区域列表
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.