You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
384 B
Go
14 lines
384 B
Go
package workerr
|
|
|
|
const (
|
|
LoginErrorCode = 100100 //登陆错误
|
|
UserExistErrorCode = 100101 //账号已存在
|
|
UserDelErrorCode = 100102 //账号不可删除
|
|
)
|
|
|
|
var (
|
|
LoginError = New("账号或密码不正确", LoginErrorCode)
|
|
UserExistError = New("创建的帐户名已存在", UserExistErrorCode)
|
|
UserDelError = New("当前账号不可删除", UserDelErrorCode)
|
|
)
|