Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseClaims ¶
type ChangePassword ¶
type ChangePassword struct { ID uint `json:"-"` // 从 JWT 中提取id,避免越权 Password string `json:"password"` // 密码 NewPassword string `json:"newPassword"` // 新密码 Code string `json:"code"` // 验证码 }
ChangePassword 修改密码
type CustomClaims ¶
type CustomClaims struct { BaseClaims BufferTime int64 jwt.RegisteredClaims }
Custom claims structure
type FdUserSearch ¶
type FdUserSearch struct { StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"` EndCreatedAt *time.Time `json:"endCreatedAt" form:"endCreatedAt"` InviteUserId *int `json:"inviteUserId" form:"inviteUserId" ` Phone string `json:"phone" form:"phone" ` Name string `json:"name" form:"name" ` Types *int `json:"types" form:"types" ` request.PageInfo }
type ForgetPassword ¶
type ForgetPassword struct { Phone string `json:"phone"` // 用户手机号/账号 Code string `json:"code"` // 短信验证码 }
ForgetPassword 忘记密码
type Login ¶
type Login struct { Phone string `json:"phone"` // 用户手机号/账号 Password string `json:"password"` // 登录密码 }
Login 登陆
type PromotionUserSearch ¶
type Register ¶
type Register struct { Phone string `json:"phone" example:"用户手机号/账号"` Code string `json:"code" example:"短信验证码"` Password string `json:"password" example:"登录密码"` StewardID uint `json:"steward_id" example:"健管师id"` InviteUserID uint `json:"invite_user_id" example:"邀请人id"` }
Register 注册
type UpdateUser ¶
type UpdateUser struct { Name string `json:"name"` Avatar string `json:"avatar"` Sex uint `json:"sex"` Birthday time.Time `json:"birthday"` Province uint `json:"province"` City uint `json:"city"` Area uint `json:"area"` Addr string `json:"addr"` Contact string `json:"contact"` ContactPhone string `json:"contact_Phone"` }
UpdateUser 修改用户信息
type UserBindManageSearch ¶
Click to show internal directories.
Click to hide internal directories.