Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginRequest ¶
type LoginRequest struct {
UserType string `json:"user_type" binding:"required" msg:"缺少用户类型"`
// 用户登录
GrantType string `json:"grant_type"`
WxCode string `json:"wx_code"`
Code string `json:"code"`
OpenId string `json:"openid"`
// 管理员登录
Username string `json:"username"`
Password string `json:"password"`
}
type RefreshTokenRequest ¶
type RefreshTokenRequest struct {
RefreshToken string `json:"refresh_token" binding:"required" msg:"缺少refresh_token"`
}
Click to show internal directories.
Click to hide internal directories.