提交 | 用户 | 时间
|
a6de49
|
1 |
package com.iailab.framework.common.constant; |
H |
2 |
|
|
3 |
/** |
|
4 |
* @author: huangxutao |
|
5 |
* @date: 2019-06-14 |
|
6 |
* @description: 缓存常量 |
|
7 |
*/ |
|
8 |
public interface CacheConstant { |
|
9 |
|
|
10 |
/** |
|
11 |
* 字典信息缓存(含禁用的字典项) |
|
12 |
*/ |
|
13 |
public static final String SYS_DICT_CACHE = "sys:cache:dict"; |
|
14 |
|
|
15 |
/** |
|
16 |
* 字典信息缓存 status为有效的 |
|
17 |
*/ |
|
18 |
public static final String SYS_ENABLE_DICT_CACHE = "sys:cache:dictEnable"; |
|
19 |
/** |
|
20 |
* 表字典信息缓存 |
|
21 |
*/ |
|
22 |
public static final String SYS_DICT_TABLE_CACHE = "sys:cache:dictTable"; |
|
23 |
public static final String SYS_DICT_TABLE_BY_KEYS_CACHE = SYS_DICT_TABLE_CACHE + "ByKeys"; |
|
24 |
|
|
25 |
/** |
|
26 |
* 数据权限配置缓存 |
|
27 |
*/ |
|
28 |
public static final String SYS_DATA_PERMISSIONS_CACHE = "sys:cache:permission:datarules"; |
|
29 |
|
|
30 |
/** |
|
31 |
* 缓存用户信息 |
|
32 |
*/ |
|
33 |
public static final String SYS_USERS_CACHE = "sys:cache:user"; |
|
34 |
|
|
35 |
/** |
|
36 |
* 全部部门信息缓存 |
|
37 |
*/ |
|
38 |
public static final String SYS_DEPARTS_CACHE = "sys:cache:depart:alldata"; |
|
39 |
|
|
40 |
|
|
41 |
/** |
|
42 |
* 全部部门ids缓存 |
|
43 |
*/ |
|
44 |
public static final String SYS_DEPART_IDS_CACHE = "sys:cache:depart:allids"; |
|
45 |
|
|
46 |
|
|
47 |
/** |
|
48 |
* 测试缓存key |
|
49 |
*/ |
|
50 |
public static final String TEST_DEMO_CACHE = "test:demo"; |
|
51 |
|
|
52 |
/** |
|
53 |
* 字典信息缓存 |
|
54 |
*/ |
|
55 |
public static final String SYS_DYNAMICDB_CACHE = "sys:cache:dbconnect:dynamic:"; |
|
56 |
|
|
57 |
/** |
|
58 |
* gateway路由缓存 |
|
59 |
*/ |
|
60 |
public static final String GATEWAY_ROUTES = "sys:cache:cloud:gateway_routes"; |
|
61 |
|
|
62 |
|
|
63 |
/** |
|
64 |
* gatewayAPI缓存 |
|
65 |
*/ |
|
66 |
public static final String GATEWAY_APIS = "sys:cache:cloud:gateway_apis"; |
|
67 |
|
|
68 |
/** |
|
69 |
* gateway路由 reload key |
|
70 |
*/ |
|
71 |
public static final String ROUTE_JVM_RELOAD_TOPIC = "gateway_jvm_route_reload_topic"; |
|
72 |
|
|
73 |
/** |
|
74 |
* TODO 冗余代码 待删除 |
|
75 |
*插件商城排行榜 |
|
76 |
*/ |
|
77 |
public static final String PLUGIN_MALL_RANKING = "pluginMall::rankingList"; |
|
78 |
/** |
|
79 |
* TODO 冗余代码 待删除 |
|
80 |
*插件商城排行榜 |
|
81 |
*/ |
|
82 |
public static final String PLUGIN_MALL_PAGE_LIST = "pluginMall::queryPageList"; |
|
83 |
|
|
84 |
|
|
85 |
/** |
|
86 |
* online列表页配置信息缓存key |
|
87 |
*/ |
|
88 |
public static final String ONLINE_LIST = "sys:cache:online:list"; |
|
89 |
|
|
90 |
/** |
|
91 |
* online表单页配置信息缓存key |
|
92 |
*/ |
|
93 |
public static final String ONLINE_FORM = "sys:cache:online:form"; |
|
94 |
|
|
95 |
/** |
|
96 |
* online报表 |
|
97 |
*/ |
|
98 |
public static final String ONLINE_RP = "sys:cache:online:rp"; |
|
99 |
|
|
100 |
/** |
|
101 |
* online图表 |
|
102 |
*/ |
|
103 |
public static final String ONLINE_GRAPH = "sys:cache:online:graph"; |
|
104 |
/** |
|
105 |
* 拖拽页面信息缓存 |
|
106 |
*/ |
|
107 |
public static final String DRAG_PAGE_CACHE = "drag:cache:param"; |
|
108 |
} |