You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.2 KiB
41 lines
1.2 KiB
6 months ago
|
package request
|
||
|
|
||
|
import "bkb-seller/model"
|
||
|
|
||
|
type UserSearch struct {
|
||
|
model.User
|
||
|
PageInfo
|
||
|
}
|
||
|
|
||
|
type UserSearchByUuid struct {
|
||
|
UserID string `json:"user_id" form:"user_id"`
|
||
|
}
|
||
|
|
||
|
type UserLogin struct {
|
||
|
Email string `json:"email"` //email
|
||
|
Password string `json:"password"` //password
|
||
|
Phone string `json:"phone"` //phone
|
||
|
PhoneCode string `json:"phone_code"` //phone_code
|
||
|
SmsCode string `json:"sms_code"` //sms_code
|
||
|
Captcha string `json:"captcha"` // 验证码
|
||
|
CaptchaId string `json:"captcha_id"` // 验证码id
|
||
|
Appid string `json:"appid"` //应用id
|
||
|
}
|
||
|
|
||
|
type UserRegister struct {
|
||
|
Email string `json:"email"` //email
|
||
|
Password string `json:"password"` //password
|
||
|
Phone string `json:"phone"` //phone
|
||
|
PhoneCode string `json:"phone_code"` //phone_code
|
||
|
SmsCode string `json:"sms_code"` //sms_code
|
||
|
Appid string `json:"appid"` //应用id
|
||
|
}
|
||
|
|
||
|
type RecoverPassword struct {
|
||
|
Email string `json:"email"` //email
|
||
|
Password string `json:"password"` //password
|
||
|
Phone string `json:"phone"` //phone
|
||
|
PhoneCode string `json:"phone_code"` //phone_code
|
||
|
SmsCode string `json:"sms_code"` //sms_code
|
||
|
}
|