controllers

package
v0.0.0-...-368a27e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginController

type LoginController struct {
	beego.Controller
}

func (*LoginController) Get

func (this *LoginController) Get()

@Title get @Description get login @Success 200 "请求方式有误" @Failure 403 body is empty @router / [get]

func (*LoginController) Post

func (this *LoginController) Post()

登入 swagger:operation POST /v1/accounts/login @Title user login @Description login @Param username path string true "the login" @Success 200 {string} @Failure 403 body is empty @router / [post]

func (*LoginController) Prepare

func (this *LoginController) Prepare()

Jump to

Keyboard shortcuts

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