Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorUerPassword = errors.New("用户名密码错误")
Functions ¶
func LoginByPassword ¶
Types ¶
type LoginRequest ¶
type LoginRequest struct {
Username string `json:"username" binding:"required"`
Password string `json:"password" binding:"required"`
}
LoginRequest 用户结构体
Click to show internal directories.
Click to hide internal directories.