基本完成重置密码和忘记密码
This commit is contained in:
@@ -28,7 +28,7 @@ type ResetToken struct {
|
||||
UserId uint64 // guest_id 需要继承
|
||||
Wid string // websocket 通道id
|
||||
Email string // email
|
||||
Password string // 密码
|
||||
OldPassword string // 旧密码
|
||||
CreateAt time.Time // 创建时间
|
||||
}
|
||||
|
||||
|
||||
@@ -44,6 +44,9 @@ var (
|
||||
CodeOAuthEmailErr = &StatusResponse{5072, "Invalid email format"}
|
||||
CodeOAuthRandReaderErr = &StatusResponse{5073, "rand reader error"}
|
||||
CodeOAuthConfirmationTimeoutErr = &StatusResponse{5074, "confirmation timeout error"}
|
||||
CodeOAuthResetTokenEncryptErr = &StatusResponse{5075, "oauth2 reset token encrypt error"}
|
||||
CodeOAuthResetTokenDecryptErr = &StatusResponse{5076, "oauth2 reset token decrypt error"}
|
||||
CodeOAuthTypeErr = &StatusResponse{5077, "oauth2 token operator error"}
|
||||
|
||||
CodeS3PutObjectRequestErr = &StatusResponse{5060, "s3 PutObjectRequest error"} // s3 PutObjectRequest 错误
|
||||
CodeS3PutSizeLimitErr = &StatusResponse{5061, "s3 over limit size error"} // s3 超过文件大小限制 错误
|
||||
|
||||
Reference in New Issue
Block a user