| | |
| | | */
|
| | | public static void clearDictCache()
|
| | | {
|
| | | Collection<String> keys = SpringUtils.getBean(RedisCache.class).keys(CacheConstants.SYS_DICT_KEY + "*");
|
| | | Collection<String> keys = SpringUtils.getBean(RedisCache.class).keys(CacheConstants.PREFIX + CacheConstants.SYS_DICT_KEY + "*");
|
| | | SpringUtils.getBean(RedisCache.class).deleteObject(keys);
|
| | | }
|
| | |
|
| | |
| | | */
|
| | | public static String getCacheKey(String configKey)
|
| | | {
|
| | | return CacheConstants.SYS_DICT_KEY + configKey;
|
| | | return CacheConstants.PREFIX + CacheConstants.SYS_DICT_KEY + configKey;
|
| | | }
|
| | | }
|