package org.dromara.common.core.constant;
|
|
/**
|
* 缓存的key 常量
|
*
|
* @author Lion Li
|
*/
|
public interface CacheConstants {
|
|
/**
|
* 在线用户 redis key
|
*/
|
String ONLINE_TOKEN_KEY = "online_tokens:";
|
|
/**
|
* 参数管理 cache key
|
*/
|
String SYS_CONFIG_KEY = "sys_config:";
|
|
/**
|
* 字典管理 cache key
|
*/
|
String SYS_DICT_KEY = "sys_dict:";
|
|
/**
|
* 登录账户密码错误次数 redis key
|
*/
|
String PWD_ERR_CNT_KEY = "pwd_err_cnt:";
|
|
/**
|
* 生成单号 redis key
|
* code组成规则 prefix + 年月日 + 序号
|
*/
|
String EIMS_GENERATE_CODE = "eims_generate_code:";
|
|
/**
|
* ***********************字典***********************
|
*/
|
|
|
/**
|
* 设备单位unit
|
*/
|
String EIMS_EQU_UNIT = "eims_equ_unit";
|
|
}
|