[feat] 新增WeChat 绑定提示

This commit is contained in:
what 2023-11-03 11:04:39 +08:00
parent 2e6c86ddaa
commit 1cb726d66d

View File

@ -64,12 +64,14 @@ var (
ErrTokenNotFound = &Errno{Code: 20202, Msg: "token 不存在"}
// 用户错误, 前缀为 203
ErrUserNotFound = &Errno{Code: 20301, Msg: "用户没找到"}
ErrUserPassword = &Errno{Code: 20302, Msg: "用户名或密码错误"}
ErrUserAuth = &Errno{Code: 20303, Msg: "无权限"}
ErrUserReadAuth = &Errno{Code: 20304, Msg: "无查询权限"}
ErrUserWriteAuth = &Errno{Code: 20305, Msg: "无写入权限"}
ErrUserIncomplete = &Errno{Code: 20306, Msg: "用户信息不完善"}
ErrUserNotFound = &Errno{Code: 20301, Msg: "用户没找到"}
ErrUserPassword = &Errno{Code: 20302, Msg: "用户名或密码错误"}
ErrUserAuth = &Errno{Code: 20303, Msg: "无权限"}
ErrUserReadAuth = &Errno{Code: 20304, Msg: "无查询权限"}
ErrUserWriteAuth = &Errno{Code: 20305, Msg: "无写入权限"}
ErrUserIncomplete = &Errno{Code: 20306, Msg: "用户信息不完善"}
ErrUserWechatBound = &Errno{Code: 20307, Msg: "该用户已绑定微信号"}
ErrUserWechatPhoneBound = &Errno{Code: 20308, Msg: "该微信号已绑定手机"}
// 审批错误, 前缀是 204
// 审批节点不存在