| | |
| | | /** |
| | | * 登录用户 redis key |
| | | */ |
| | | public static final String LOGIN_TOKEN_KEY = "login_tokens:"; |
| | | public static final String LOGIN_TOKEN_KEY = "swspkmas:login_tokens:"; |
| | | |
| | | public static final String THREE_INSTITUTION_TOKEN_KEY = "swspkmas:three_institution_tokens:"; |
| | | |
| | | /** |
| | | * 验证码 redis key |
| | | */ |
| | | public static final String CAPTCHA_CODE_KEY = "captcha_codes:"; |
| | | public static final String CAPTCHA_CODE_KEY = "swspkmas:captcha_codes:"; |
| | | |
| | | /** |
| | | * 参数管理 cache key |
| | | */ |
| | | public static final String SYS_CONFIG_KEY = "sys_config:"; |
| | | public static final String SYS_CONFIG_KEY = "swspkmas:sys_config:"; |
| | | |
| | | /** |
| | | * 字典管理 cache key |
| | | */ |
| | | public static final String SYS_DICT_KEY = "sys_dict:"; |
| | | public static final String SYS_DICT_KEY = "swspkmas:sys_dict:"; |
| | | |
| | | |
| | | public static final String SYS_DISTRICT_LIST_KEY = "sys_district_list"; |
| | | public static final String SYS_DISTRICT_LIST_KEY = "swspkmas:sys_district_list"; |
| | | |
| | | public static final String SYS_DISTRICT_TREE_KEY = "sys_district_tree"; |
| | | |
| | | public static final String SYS_DISTRICT_TREE_KEY = "swspkmas:sys_district_tree"; |
| | | |
| | | |
| | | public static final String SYS_OPERATE_TYPE_NAME_KEY = "swspkmas:sys_operate_type_name"; |
| | | |
| | | /** |
| | | * 防重提交 redis key |
| | | */ |
| | | public static final String REPEAT_SUBMIT_KEY = "repeat_submit:"; |
| | | public static final String REPEAT_SUBMIT_KEY = "swspkmas:repeat_submit:"; |
| | | |
| | | /** |
| | | * 限流 redis key |
| | | */ |
| | | public static final String RATE_LIMIT_KEY = "rate_limit:"; |
| | | public static final String RATE_LIMIT_KEY = "swspkmas:rate_limit:"; |
| | | |
| | | /** |
| | | * 登录账户密码错误次数 redis key |
| | | */ |
| | | public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:"; |
| | | public static final String PWD_ERR_CNT_KEY = "swspkmas:pwd_err_cnt:"; |
| | | |
| | | /** |
| | | * 七天内访问请求token次数 |
| | | */ |
| | | public static final String THREE_TOKEN_CNT_KEY = "swspkmas:three_token_cnt:"; |
| | | |
| | | /** |
| | | * 三陪类型 |
| | | */ |
| | | public static final String THREE_SUBJECT_TYPE = "swspkmas:three_subject_type"; |
| | | } |