From a3eaa241412052fae0811551107a97ce0daa7f6b Mon Sep 17 00:00:00 2001 From: what Date: Wed, 31 Jan 2024 15:18:15 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E8=B0=83=E6=95=B4=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- errno.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/errno.go b/errno.go index 825ca1f..7a3fd52 100644 --- a/errno.go +++ b/errno.go @@ -91,12 +91,12 @@ var ( ErrApiResponsed = &Errno{Code: 20502, Msg: "Api Responsed Error"} // 验证码错误,206 - ErrCaptcha = &Errno{Code: 20601, Msg: "验证码生成器不存在"} - ErrCaptchaGenerate = &Errno{Code: 20602, Msg: "验证码生成错误"} - ErrCaptchaInvalid = &Errno{Code: 20603, Msg: "验证码无效"} - ErrCaptchaExpired = &Errno{Code: 20604, Msg: "验证码已过期"} - ErrCaptchaSend = &Errno{Code: 20605, Msg: "验证码发送错误"} - ErrCaptchaSendInterval = &Errno{Code: 20606, Msg: "验证码发送失败, 请稍后再试"} + ErrCaptcha = &Errno{Code: 20601, Msg: "验证码生成器不存在"} + ErrCaptchaGenerate = &Errno{Code: 20602, Msg: "验证码生成错误"} + ErrCaptchaInvalid = &Errno{Code: 20603, Msg: "验证码无效"} + ErrCaptchaExpired = &Errno{Code: 20604, Msg: "验证码已过期"} + ErrCaptchaSend = &Errno{Code: 20605, Msg: "验证码发送错误"} + ErrCaptchaInterval = &Errno{Code: 20606, Msg: "验证码获取失败, 请稍后再试"} ) // 使用 错误码 和 error 创建新的 错误