controllers

package
v0.0.0-...-2b30400 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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) Edit

func (c *BackendUserController) Edit()

Edit 添加 编辑 页面

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) DataGrid

func (c *CourseController) DataGrid()

DataGrid 课程管理首页 表格获取数据

func (*CourseController) Delete

func (c *CourseController) Delete()

Delete 批量删除

func (*CourseController) Edit

func (c *CourseController) Edit()

Edit 添加、编辑课程界面

func (*CourseController) Index

func (c *CourseController) Index()

Index 角色管理首页

func (*CourseController) Prepare

func (c *CourseController) Prepare()

Prepare 参考beego官方文档说明

func (*CourseController) Save

func (c *CourseController) Save()

Save 添加、编辑页面 保存

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) Delete

func (c *ResourceController) Delete()

Delete 删除

func (*ResourceController) Edit

func (c *ResourceController) Edit()

Edit 资源编辑页面

func (*ResourceController) Index

func (c *ResourceController) Index()

func (*ResourceController) ParentTreeGrid

func (c *ResourceController) ParentTreeGrid()

ParentTreeGrid 获取可以成为某节点的父节点列表

func (*ResourceController) Prepare

func (c *ResourceController) Prepare()

func (*ResourceController) Save

func (c *ResourceController) Save()

Save 资源添加编辑 保存

func (*ResourceController) Select

func (c *ResourceController) Select()

Select 通用选择面板

func (*ResourceController) TreeGrid

func (c *ResourceController) TreeGrid()

TreeGrid 获取所有资源的列表

func (*ResourceController) UpdateSeq

func (c *ResourceController) UpdateSeq()
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) Allocate

func (c *RoleController) Allocate()

Allocate 给角色分配资源界面

func (*RoleController) DataGrid

func (c *RoleController) DataGrid()

DataGrid 角色管理首页 表格获取数据

func (*RoleController) DataList

func (c *RoleController) DataList()

DataList 角色列表

func (*RoleController) Delete

func (c *RoleController) Delete()

Delete 批量删除

func (*RoleController) Edit

func (c *RoleController) Edit()

Edit 添加、编辑角色界面

func (*RoleController) Index

func (c *RoleController) Index()

Index 角色管理首页

func (*RoleController) Prepare

func (c *RoleController) Prepare()

Prepare 参考beego官方文档说明

func (*RoleController) Save

func (c *RoleController) Save()

Save 添加、编辑页面 保存

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL