This commit is contained in:
awei
2025-03-03 17:43:50 +08:00
commit 113756eaae
1497 changed files with 127997 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package errs
import (
"github.com/mlogclub/simple/web"
)
var (
NotLogin = web.NewError(1, "请先登录")
CaptchaError = web.NewError(1000, "验证码错误")
ForbiddenError = web.NewError(1001, "已被禁言")
UserDisabled = web.NewError(1002, "账号已禁用")
InObservationPeriod = web.NewError(1003, "账号尚在观察期")
EmailNotVerified = web.NewError(1004, "请先验证邮箱")
)