Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // user errors ErrUserNotFound = errcode.NewError(20101, "The user was not found.") ErrPasswordIncorrect = errcode.NewError(20102, "账号或密码错误") ErrAreaCodeEmpty = errcode.NewError(20103, "手机区号不能为空") ErrPhoneEmpty = errcode.NewError(20104, "手机号不能为空") ErrGenVCode = errcode.NewError(20105, "生成验证码错误") ErrSendSMS = errcode.NewError(20106, "发送短信错误") ErrSendSMSTooMany = errcode.NewError(20107, "已超出当日限制,请明天再试") ErrVerifyCode = errcode.NewError(20108, "验证码错误") ErrEmailOrPassword = errcode.NewError(20109, "邮箱或密码错误") ErrTwicePasswordNotMatch = errcode.NewError(20110, "两次密码输入不一致") ErrRegisterFailed = errcode.NewError(20111, "注册失败") ErrCannotFollowSelf = errcode.NewError(20201, "不能关注自己") )
nolint: golint
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.