教育训练处考试制证系统后端
“djh”
2025-02-25 70dcf4e610a0ec5fd6ca2c3daf9edf4957b30529
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.ruoyi.common.constant;
 
/**
 * 缓存的key 常量
 * 
 * @author ruoyi
 */
public class CacheConstants
{
    /**
     * 登录用户 redis key
     */
    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 = "swspkmas:captcha_codes:";
 
    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "swspkmas:sys_config:";
 
    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "swspkmas:sys_dict:";
 
 
    public static final String SYS_DISTRICT_LIST_KEY = "swspkmas:sys_district_list";
 
 
    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 = "swspkmas:repeat_submit:";
 
    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "swspkmas:rate_limit:";
 
    /**
     * 登录账户密码错误次数 redis key
     */
    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";
}