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

107 lines
2.5 KiB
Java

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.

package com.kiisoo.ic.constants;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @ClassName: Constants
* @Description:
* @Auther: Caps
* @Date: 2020/4/8 0008 14:49
* @Version:
*/
public class Constants {
/**
* 操作人
*/
public static final String SYS_OPERATION = "系统";
public static final String UPLOAD_OPERATION = "导入";
/**账户类型\n1、系统账户2、企业微信*/
public static final int ACCOUNT_STATUS_UNABLE = 1;
/**
* 用户名或密码错误
*/
public static final String ERROR_PASSWORD = "0003";
public static final String ERROR_MSG_PASSWORD_ERROR = "密码错误";
/**
* 该账号不存在
*/
public static final String ERROR_ACCOUNT_NOT_EXIST = "0004";
public static final String ERROR_MSG_ACCOUNT_NOT_EXIST = "该账号不存在";
/**
* 该账号不存在
*/
public static final String ERROR_ACCOUNT_NOT_BIND = "0005";
public static final String ERROR_MSG_ACCOUNT_NOT_BIND = "该账号未绑定";
/**
* 该账号不存在
*/
public static final String ERROR_ROLE_NO_PERMISSION = "0006";
/**
* 该用户不存在
*/
public static final String ERROR_USER_NO_PERMISSION = "0009";
/**
* 该账号已暂停,请联系店长
*/
public static final String ERROR_ACCOUNT_STOP = "0011";
/**
* 该账号不存在
*/
public static final String ERROR_MOBILE_NO_USER = "1008";
public static final String ERROR_MSG_ROLE_NO_PERMISSION = "该角色没有登录权限";
/**
* 系统异常
*/
public static final String ERROR_SYSTEM = "0001";
public static final String ERROR_MSG_SERVICE_EXCEPTION = "系统异常";
/**
* 无权限
*/
public static final String LOGIN_NO_PERMISSIONS = "1007";
/**
* 重置密码
*/
public static final String PASSWORD_RESET = "123456";
/** 数字对应周 */
public static final Map<Long, String> SELLER_TYPE = new HashMap<Long, String>() {
private static final long serialVersionUID = 1L;
{
put(1L, "店长");
put(2L, "副店长");
put(3L, "店长助理");
put(4L, "导购");
}
};
/** 数字对应周 */
public static final List<String> MINI_ROLE_CODE = new ArrayList<String>() {
private static final long serialVersionUID = 1L;
{
add("DZ-DIANZHANG");
add("DG-DAOGOU");
}
};
}