28 lines
595 B
Go
28 lines
595 B
Go
package request
|
|
|
|
import common "sundynix-go/model/commom/request"
|
|
|
|
type Login struct {
|
|
Account string `json:"account"`
|
|
Password string `json:"password"`
|
|
Captcha string `json:"captcha"`
|
|
CaptchaId string `json:"captchaId"`
|
|
}
|
|
|
|
type GetUserList struct {
|
|
common.PageInfo
|
|
Account string `json:"account" form:"account"`
|
|
Phone string `json:"phone" form:"phone"`
|
|
IsVip *int `json:"isVip" form:"isVip"`
|
|
}
|
|
|
|
type ChangePwd struct {
|
|
Id string `json:"id"`
|
|
NewPwd string `json:"newPwd"`
|
|
}
|
|
|
|
type GrantRole struct {
|
|
UserId string `json:"userId"`
|
|
RoleIds []string `json:"roleIds"`
|
|
}
|