[feat] 调整验证码
This commit is contained in:
parent
a79b4c33a6
commit
a3eaa24141
2
errno.go
2
errno.go
@ -96,7 +96,7 @@ var (
|
|||||||
ErrCaptchaInvalid = &Errno{Code: 20603, Msg: "验证码无效"}
|
ErrCaptchaInvalid = &Errno{Code: 20603, Msg: "验证码无效"}
|
||||||
ErrCaptchaExpired = &Errno{Code: 20604, Msg: "验证码已过期"}
|
ErrCaptchaExpired = &Errno{Code: 20604, Msg: "验证码已过期"}
|
||||||
ErrCaptchaSend = &Errno{Code: 20605, Msg: "验证码发送错误"}
|
ErrCaptchaSend = &Errno{Code: 20605, Msg: "验证码发送错误"}
|
||||||
ErrCaptchaSendInterval = &Errno{Code: 20606, Msg: "验证码发送失败, 请稍后再试"}
|
ErrCaptchaInterval = &Errno{Code: 20606, Msg: "验证码获取失败, 请稍后再试"}
|
||||||
)
|
)
|
||||||
|
|
||||||
// 使用 错误码 和 error 创建新的 错误
|
// 使用 错误码 和 error 创建新的 错误
|
||||||
|
Loading…
Reference in New Issue
Block a user