This commit is contained in:
12600k-rog-d4
2025-12-09 20:33:57 +08:00
parent 144ed3cbdf
commit 8f4d399cfd
1498 changed files with 3778 additions and 3654 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, "请先验证邮箱")
)