controllers

package
v0.0.0-...-a4d5418 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
	beego.Controller
	// contains filtered or unexported fields
}

func (*BaseController) GetString

func (this *BaseController) GetString(name string, def ...string) string

重写GetString方法,移除前后空格

func (*BaseController) Prepare

func (this *BaseController) Prepare()

type LoginController

type LoginController struct {
	BaseController
}

func (*LoginController) Login

func (this *LoginController) Login()

登录{perm:false}

type RoleController

type RoleController struct {
	BaseController
}

func (*RoleController) List

func (this *RoleController) List()

type UserController

type UserController struct {
	BaseController
}

func (*UserController) Add

func (this *UserController) Add()

添加用户{perm:22}

func (*UserController) AuthUser

func (this *UserController) AuthUser()

获取登录用户信息{perm:22}

func (*UserController) Edit

func (this *UserController) Edit()

编辑用户{perm:22}

func (*UserController) List

func (this *UserController) List()

用户列表{perm:22}

Jump to

Keyboard shortcuts

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