2022-08-16 23:30:23 +08:00
|
|
|
ErrInvalidParams: "请求参数错误: {{ .detail }}"
|
|
|
|
ErrToken: "Token 信息错误: {{ .detail }}"
|
|
|
|
ErrTokenParse: "Token 生成错误: {{ .detail }}"
|
|
|
|
ErrTokenTimeOut: "登陆信息已过期: {{ .detail }}"
|
2022-12-02 18:52:43 +08:00
|
|
|
ErrInitialPassword: "原密码错误"
|
2022-08-16 23:30:23 +08:00
|
|
|
ErrInternalServer: "服务内部错误: {{ .detail }}"
|
|
|
|
ErrRecordExist: "记录已存在: {{ .detail }}"
|
|
|
|
ErrRecordNotFound: "记录未能找到: {{ .detail }}"
|
2022-08-17 11:47:56 +08:00
|
|
|
ErrStructTransform: "类型转换失败: {{ .detail }}"
|
2022-09-15 17:15:03 +08:00
|
|
|
ErrNotLogin: "用户未登录: {{ .detail }}"
|
2022-09-16 18:53:45 +08:00
|
|
|
ErrNotSafety: "当前用户登录状态不安全: {{ .detail }}"
|
2022-09-29 16:15:59 +08:00
|
|
|
ErrPasswordExpired: "当前密码已过期: {{ .detail }}"
|
2022-12-01 15:48:40 +08:00
|
|
|
ErrNotSupportType: "系统暂不支持当前类型: {{ .detail }}"
|
|
|
|
|
|
|
|
|
2022-12-02 10:31:07 +08:00
|
|
|
#common
|
|
|
|
ErrNameIsExist: "名称已存在"
|
|
|
|
|
2022-12-01 15:48:40 +08:00
|
|
|
#app
|
2022-12-02 15:49:58 +08:00
|
|
|
ErrPortInUsed: "{{ .detail }} 端口已被占用!"
|
2022-12-01 16:45:00 +08:00
|
|
|
ErrAppLimit: "应用超出安装数量限制"
|
2022-12-02 18:17:16 +08:00
|
|
|
ErrAppRequired: "请先安装 {{ .detail }} 应用"
|
2022-12-04 17:45:54 +08:00
|
|
|
ErrNotInstall: "应用未安装"
|
2022-12-02 18:17:16 +08:00
|
|
|
|
|
|
|
#file
|
|
|
|
ErrFileCanNotRead: "文件不可读"
|
2022-12-04 16:10:48 +08:00
|
|
|
ErrFileToLarge: "文件超过10M,无法打开"
|
|
|
|
|
|
|
|
#website
|
|
|
|
ErrDomainIsExist: "域名已存在"
|
2022-12-05 15:50:53 +08:00
|
|
|
ErrAliasIsExist: "代号已存在"
|
|
|
|
|
|
|
|
#ssl
|
|
|
|
ErrSSLCannotDelete: "证书正在被网站使用,无法删除"
|
|
|
|
ErrAccountCannotDelete: "账号关联证书,无法删除"
|