fix
This commit is contained in:
@@ -57,6 +57,7 @@ var (
|
||||
CodePasswordErr = &StatusResponse{5052, "invalid password"} // 无效密码
|
||||
CodeEmailExistsErr = &StatusResponse{5053, "email exists"} // email存在
|
||||
CodeEmailTimeShortErr = &StatusResponse{5053, "email with the time of resend is too short"} // email存在
|
||||
CodeResetPasswordErr = &StatusResponse{5054, "reset password error"} // 无效密码
|
||||
|
||||
CodeSafeValueRangeErr = &StatusResponse{5040, "value not in range"} // 值不在范围内
|
||||
CodeTemplateErr = &StatusResponse{5040, "template parsed error"} // 模板解析错误
|
||||
|
||||
@@ -9,6 +9,7 @@ type EventType string
|
||||
|
||||
const (
|
||||
UserEmailRegister EventType = "E_USER_EMAIL_REGISTER" // 用户注册
|
||||
UserResetToken EventType = "E_USER_RESET_TOKEN" // 用户重置密码成功通知
|
||||
)
|
||||
|
||||
// WebsocketEvent 所有事件都必须继承这个结构体
|
||||
|
||||
Reference in New Issue
Block a user