|
|
|
|
ErrInvalidParams: "请求参数错误: {{ .detail }}"
|
|
|
|
|
ErrToken: "Token 信息错误: {{ .detail }}"
|
|
|
|
|
ErrTokenParse: "Token 生成错误: {{ .detail }}"
|
|
|
|
|
ErrTokenTimeOut: "登陆信息已过期: {{ .detail }}"
|
|
|
|
|
ErrInitialPassword: "原密码错误"
|
|
|
|
|
ErrInternalServer: "服务内部错误: {{ .detail }}"
|
|
|
|
|
ErrRecordExist: "记录已存在"
|
|
|
|
|
ErrRecordNotFound: "记录未能找到"
|
|
|
|
|
ErrStructTransform: "类型转换失败: {{ .detail }}"
|
|
|
|
|
ErrNotLogin: "用户未登录: {{ .detail }}"
|
|
|
|
|
ErrNotSafety: "当前用户登录状态不安全: {{ .detail }}"
|
|
|
|
|
ErrPasswordExpired: "当前密码已过期: {{ .detail }}"
|
|
|
|
|
ErrNotSupportType: "系统暂不支持当前类型: {{ .detail }}"
|
|
|
|
|
ErrRepoNotValid: "远程仓库校验失败!"
|
|
|
|
|
|
|
|
|
|
#common
|
|
|
|
|
ErrNameIsExist: "名称已存在"
|
|
|
|
|
|
|
|
|
|
#app
|
|
|
|
|
ErrPortInUsed: "{{ .detail }} 端口已被占用!"
|
|
|
|
|
ErrAppLimit: "应用超出安装数量限制"
|
|
|
|
|
ErrAppRequired: "请先安装 {{ .detail }} 应用"
|
|
|
|
|
ErrNotInstall: "应用未安装"
|
|
|
|
|
ErrPortInOtherApp: "{{ .port }} 端口已被 {{ .apps }}占用!"
|
|
|
|
|
|
|
|
|
|
#file
|
|
|
|
|
ErrFileCanNotRead: "此文件不支持预览"
|
|
|
|
|
ErrFileToLarge: "文件超过10M,无法打开"
|
|
|
|
|
ErrPathNotFound: "目录不存在"
|
|
|
|
|
|
|
|
|
|
#website
|
|
|
|
|
ErrDomainIsExist: "域名已存在"
|
|
|
|
|
ErrAliasIsExist: "代号已存在"
|
|
|
|
|
ErrAppDelete: '其他网站使用此应用,不能删除'
|
|
|
|
|
|
|
|
|
|
#ssl
|
|
|
|
|
ErrSSLCannotDelete: "证书正在被网站使用,无法删除"
|
|
|
|
|
ErrAccountCannotDelete: "账号关联证书,无法删除"
|
|
|
|
|
ErrSSLApply: "证书续签成功,openresty reload失败,请检查配置!"
|