1234567891011121314151617181920212223242526272829303132333435363738 |
- // Code generated by lance DO NOT EDIT
- // Package const code comment msg
- package codex
- import (
- "gogs.baozhida.cn/Cold_Logistic_libs/pkg/contrib/core/code"
- )
- func init() {
- code.RegisterCode(ErrSystemSrv, 500, "系统错误")
- code.RegisterCode(ErrAccountQueryFailed, 500, "账号查询失败")
- code.RegisterCode(ErrPlaceOrderFailed, 500, "下单失败")
- code.RegisterCode(ErrParamValidate, 400, "TmpMsg")
- code.RegisterCode(ErrBindJSON, 400, "不合规的JSON数据类型定义")
- code.RegisterCode(ErrInvalidAuthHeader, 401, "Invalid authorization header.")
- code.RegisterCode(ErrSignatureInvalid, 401, "未登录(Signature is invalid)")
- code.RegisterCode(ErrLoginInvalid, 401, "账号不存在或密码错误")
- code.RegisterCode(ErrLogoutInvalid, 500, "登出错误")
- code.RegisterCode(ErrFindAccountInvalid, 401, "ErrFindAccountInvalid")
- code.RegisterCode(ErrCaptchaInvalid, 401, "验证码错误")
- code.RegisterCode(ErrClientIp, 403, "Client Ip Must Be LocalHost")
- code.RegisterCode(ErrXRequestIdHeader, 400, "Invalid X-Request-Id header.")
- code.RegisterCode(ErrLoginFailed, 400, "TmpMsg")
- code.RegisterCode(ErrOperationForbideen, 403, "无权访问!")
- code.RegisterCode(ErrResourceNotFound, 400, "资源不存在")
- code.RegisterCode(ErrOperationFailed, 500, "操作失败")
- code.RegisterCode(ErrOpPermissionFailed, 500, "权限验证失败")
- code.RegisterCode(ErrNameExisted, 400, "该名称重复")
- code.RegisterCode(ErrQueryFailed, 500, "查询失败")
- code.RegisterCode(ErrSaveFailed, 500, "保存失败")
- code.RegisterCode(ErrDeletedFailed, 500, "删除失败")
- code.RegisterCode(ErrGetUploadKeyFailed, 500, "获取上传秘钥失败")
- code.RegisterCode(ErrFileTitleNotMatch, 400, "文件标题不匹配")
- code.RegisterCode(ErrUrlExpires, 403, "链接已过期")
- code.RegisterCode(ErrUrlInvalid, 403, "TmpMsg")
- code.RegisterCode(ErrNoDataPermission, 403, "TmpMsg")
- }
|