Documentation ¶
Index ¶
- func CheckCode(svc *svc.Svc) gin.HandlerFunc
- func Current(svc *svc.Svc) gin.HandlerFunc
- func PasswordCheck(svc *svc.Svc) gin.HandlerFunc
- func Register(svc *svc.Svc) gin.HandlerFunc
- func ResetPassword(svc *svc.Svc) gin.HandlerFunc
- func RetrievePassword(svc *svc.Svc) gin.HandlerFunc
- func RetrievePasswordSendCode(svc *svc.Svc) gin.HandlerFunc
- func SendRegisterEmailCode(svc *svc.Svc, typ string) gin.HandlerFunc
- func UpdateAvatar(svc *svc.Svc) gin.HandlerFunc
- type CheckCodeReq
- type PasswordCheckRequest
- type RegisterReq
- type ResetPasswordReq
- type RetrievePasswordReq
- type RetrievePasswordResp
- type RetrievePasswordSendCodeReq
- type SendRegisterEmailCodeReq
- type SendRegisterEmailCodeResp
- type UpdateAvatarReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PasswordCheck ¶
func PasswordCheck(svc *svc.Svc) gin.HandlerFunc
func ResetPassword ¶
func ResetPassword(svc *svc.Svc) gin.HandlerFunc
func RetrievePassword ¶
func RetrievePassword(svc *svc.Svc) gin.HandlerFunc
func RetrievePasswordSendCode ¶
func RetrievePasswordSendCode(svc *svc.Svc) gin.HandlerFunc
func SendRegisterEmailCode ¶
func SendRegisterEmailCode(svc *svc.Svc, typ string) gin.HandlerFunc
func UpdateAvatar ¶
func UpdateAvatar(svc *svc.Svc) gin.HandlerFunc
Types ¶
type CheckCodeReq ¶
type PasswordCheckRequest ¶
type RegisterReq ¶
type RegisterReq struct { // 用户数据 LoginID string `json:"loginID"` UserName string `json:"userName"` ActualName string `json:"actualName"` EnName string `json:"enName"` Password string `json:"password"` TimeStamp int64 `json:"timestamp"` QQ string `json:"QQ"` // 验证 Email string `json:"email"` EmailCode string `json:"emailCode"` // 旧数据 CubeID string `json:"cubeID"` // v2 留下的 CubeID InitPassword string `json:"initPassword"` // 初始化密码 todo bind }
type ResetPasswordReq ¶
type RetrievePasswordReq ¶
type RetrievePasswordReq struct { CheckCodeReq Password string `json:"password"` // 密码(加密前) TimeStamp int64 `json:"timestamp"` // 创建时间戳 }
type RetrievePasswordResp ¶
type UpdateAvatarReq ¶
Click to show internal directories.
Click to hide internal directories.