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()
Click to show internal directories.
Click to hide internal directories.