mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-11-12 20:23:50 +08:00
发布 2.2.1
This commit is contained in:
@@ -155,6 +155,16 @@ public class DictUtils
|
||||
return StrUtil.strip(propertyString.toString(), null, separator);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除指定字典缓存
|
||||
*
|
||||
* @param key 字典键
|
||||
*/
|
||||
public static void removeDictCache(String key)
|
||||
{
|
||||
SpringUtils.getBean(RedisCache.class).deleteObject(getCacheKey(key));
|
||||
}
|
||||
|
||||
/**
|
||||
* 清空字典缓存
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user