提供文件上传及静态服务
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.

33 lines
783 B

4 months ago
package request
import "service-api/model"
// Modify password structure
type ForgetPasswordStruct struct {
Email string `json:"email"` // 用户名
Auth string `json:"auth"` //认证码
NewPassword string `json:"newPassword"` // 密码
}
// User login structure
type Login struct {
Email string `json:"email"` // 邮箱
Password string `json:"password"` // 密码
}
type Email struct {
Email string `json:"email" form:"email"` // email
}
// User register structure
type Register struct {
Email string `json:"email"` // email
Captcha string `json:"captcha"` // email code
Password string `json:"password"` // password
RegFrom string `json:"reg_from"` // register origin
}
type UpdateUserDetailParams struct {
model.UserDesc
}