|
|
const word = {
|
|
|
login: '登录',
|
|
|
'verify-mobile': '验证手机号'
|
|
|
}
|
|
|
|
|
|
const sentence = {
|
|
|
'uni-id-token-expired': '登录状态失效,token已过期',
|
|
|
'uni-id-check-token-failed': 'token校验未通过',
|
|
|
'uni-id-account-exists': '此账号已注册',
|
|
|
'uni-id-account-not-exists': '此账号未注册',
|
|
|
'uni-id-account-not-exists-in-current-app': '此账号未在该应用注册',
|
|
|
'uni-id-account-conflict': '用户账号冲突',
|
|
|
'uni-id-account-banned': '此账号已封禁',
|
|
|
'uni-id-account-auditing': '此账号正在审核中',
|
|
|
'uni-id-account-audit-failed': '此账号审核失败',
|
|
|
'uni-id-account-closed': '此账号已注销',
|
|
|
'uni-id-captcha-required': '请输入图形验证码',
|
|
|
'uni-id-password-error': '密码错误',
|
|
|
'uni-id-password-error-exceed-limit': '密码错误次数过多,请稍后再试',
|
|
|
'uni-id-invalid-username': '用户名不合法',
|
|
|
'uni-id-invalid-password': '密码不合法',
|
|
|
'uni-id-invalid-password-super': '密码必须包含大小写字母、数字和特殊符号,长度8-16位',
|
|
|
'uni-id-invalid-password-strong': '密码必须包含字母、数字和特殊符号,长度8-16位不合法',
|
|
|
'uni-id-invalid-password-medium': '密码必须为字母、数字和特殊符号任意两种的组合,长度8-16位',
|
|
|
'uni-id-invalid-password-weak': '密码必须包含字母和数字,长度6-16位',
|
|
|
'uni-id-invalid-mobile': '手机号码不合法',
|
|
|
'uni-id-invalid-email': '邮箱不合法',
|
|
|
'uni-id-invalid-nickname': '昵称不合法',
|
|
|
'uni-id-invalid-param': '参数错误',
|
|
|
'uni-id-param-required': '缺少参数: {param}',
|
|
|
'uni-id-get-third-party-account-failed': '获取第三方账号失败',
|
|
|
'uni-id-get-third-party-user-info-failed': '获取用户信息失败',
|
|
|
'uni-id-mobile-verify-code-error': '手机验证码错误或已过期',
|
|
|
'uni-id-email-verify-code-error': '邮箱验证码错误或已过期',
|
|
|
'uni-id-admin-exists': '超级管理员已存在',
|
|
|
'uni-id-permission-error': '权限错误',
|
|
|
'uni-id-system-error': '系统错误',
|
|
|
'uni-id-set-invite-code-failed': '设置邀请码失败',
|
|
|
'uni-id-invalid-invite-code': '邀请码不可用',
|
|
|
'uni-id-change-inviter-forbidden': '禁止修改邀请人',
|
|
|
'uni-id-bind-conflict': '此账号已被绑定',
|
|
|
'uni-id-admin-exist-in-other-apps': '超级管理员已在其他控制台注册',
|
|
|
'uni-id-unbind-failed': '请先绑定后再解绑',
|
|
|
'uni-id-unbind-not-supported': '不支持解绑',
|
|
|
'uni-id-unbind-mobile-not-exists': '这是当前唯一登录方式,请绑定手机号后再尝试解绑',
|
|
|
'uni-id-unbind-password-not-exists': '请先设置密码在尝试解绑',
|
|
|
'uni-id-unsupported-request': '不支持的请求方式',
|
|
|
'uni-id-illegal-request': '非法请求',
|
|
|
'uni-id-frv-fail': '实名认证失败',
|
|
|
'uni-id-frv-processing': '等待人脸识别',
|
|
|
'uni-id-realname-verified': '该账号已实名认证',
|
|
|
'uni-id-idcard-exists': '该证件号码已绑定账号',
|
|
|
'uni-id-invalid-idcard': '身份证号码不合法',
|
|
|
'uni-id-invalid-realname': '姓名只能是汉字',
|
|
|
'uni-id-unknown-error': '未知错误',
|
|
|
'uni-id-realname-verify-upper-limit': '当日实名认证次数已达上限',
|
|
|
'uni-id-config-field-required': '缺少配置项: {field}',
|
|
|
'uni-id-config-field-invalid': '配置项: {field}无效'
|
|
|
}
|
|
|
|
|
|
module.exports = {
|
|
|
...word,
|
|
|
...sentence
|
|
|
}
|