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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	*revel.Controller
}

func (*Group) Add

func (c *Group) Add(user_group *models.User_Group) revel.Result

添加会员组

func (*Group) Edit

func (c *Group) Edit(user_group *models.User_Group) revel.Result

编辑会员组

func (*Group) Index

func (c *Group) Index(user_group *models.User_Group) revel.Result

首页

type User

type User struct {
	*revel.Controller
}

func (*User) Add

func (c *User) Add(user *models.User) revel.Result

添加会员

func (*User) AdminPanel

func (c *User) AdminPanel(admin *models.Admin) revel.Result

常用菜单

func (*User) Delete

func (c *User) Delete(user *models.User) revel.Result

删除

func (*User) Edit

func (c *User) Edit(user *models.User) revel.Result

编辑会员

func (*User) EditInfo

func (c *User) EditInfo(admin *models.Admin) revel.Result

个人信息

func (*User) EditPwd

func (c *User) EditPwd(admin *models.Admin) revel.Result

修改密码

func (*User) Index

func (c *User) Index(user *models.User) revel.Result

首页

func (*User) Left

func (c *User) Left(menu *models.Menu) revel.Result

左侧导航菜单

func (*User) Lock

func (c *User) Lock(user *models.User) revel.Result

锁定

func (*User) Login

func (c *User) Login(admin *models.Admin) revel.Result

登陆

func (*User) Logout

func (c *User) Logout(admin *models.Admin) revel.Result

退出登陆

func (*User) Move

func (c *User) Move(user *models.User) revel.Result

移动

func (*User) Unlock

func (c *User) Unlock(user *models.User) revel.Result

解锁

func (*User) UserInfo

func (c *User) UserInfo(user *models.User) revel.Result

个人信息

Jump to

Keyboard shortcuts

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