controllers

package
v0.0.0-...-769f433 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2014 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	*revel.Controller
}

func (Admin) Add

func (c Admin) Add(admin *models.Admin) revel.Result

添加管理员

func (Admin) Delete

func (c Admin) Delete(admin *models.Admin) revel.Result

删除管理员

func (Admin) Edit

func (c Admin) Edit(admin *models.Admin) revel.Result

编辑管理员

func (Admin) Index

func (c Admin) Index(admin *models.Admin) revel.Result

首页

type Logs

type Logs struct {
	*revel.Controller
}

func (Logs) DelAll

func (c Logs) DelAll(logs *models.Logs) revel.Result

清空日志

func (Logs) Index

func (c Logs) Index(logs *models.Logs) revel.Result

日志列表

type Menu struct {
	*revel.Controller
}
func (c Menu) Add(menu *models.Menu) revel.Result

添加菜单

func (c Menu) Delete(menu *models.Menu) revel.Result

删除

func (c Menu) Edit(menu *models.Menu) revel.Result

编辑菜单

func (c Menu) Index(menu *models.Menu) revel.Result

首页

type Role

type Role struct {
	*revel.Controller
}

func (Role) Add

func (c Role) Add(role *models.Role) revel.Result

添加角色

func (Role) Delete

func (c Role) Delete(role *models.Role) revel.Result

删除角色

func (Role) Edit

func (c Role) Edit(role *models.Role) revel.Result

编辑角色

func (Role) Index

func (c Role) Index(role *models.Role) revel.Result

首页

func (Role) Member

func (c Role) Member(role *models.Role) revel.Result

成员管理

func (Role) SetStatus

func (c Role) SetStatus(role *models.Role) revel.Result

设置状态

type Setting

type Setting struct {
	*revel.Controller
}

func (Setting) Index

func (c Setting) Index() revel.Result

type Task

type Task struct {
	*revel.Controller
}

func (Task) Index

func (c Task) Index() revel.Result

首页

Jump to

Keyboard shortcuts

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