You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
593 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**
* 逻辑文案管理
*/
const userCode = {
ERROR_USER_NAME: '用户名格式为6-16位的小写字母包括-、_',
ERROR_EMAIL: '请输入正确的邮箱地址',
ERROR_PASSWORD: '密码长度应该为6-16',
ERROR_PASSWORD_CONFORM: '两次密码不一致',
ERROR_SYS: '系统错误',
FAIL_EMAIL_IS_EXIST: '邮箱已被注册',
FAIL_USER_NAME_IS_EXIST: '用户名已被注册',
FAIL_USER_NAME_OR_PASSWORD_ERROR: '用户名或登录密码错误',
FAIL_USER_NO_LOGIN: '用户未登录',
FAIL_USER_NO_EXIST: '用户不存在',
}
module.exports = userCode