优化参数&字典缓存操作

This commit is contained in:
RuoYi
2021-05-26 19:52:01 +08:00
parent fe204ad7c5
commit 387a3f838d
14 changed files with 154 additions and 78 deletions

View File

@ -150,6 +150,16 @@ public class DictUtils
return StringUtils.stripEnd(propertyString.toString(), separator);
}
/**
* 删除指定字典缓存
*
* @param key 字典键
*/
public static void removeDictCache(String key)
{
CacheUtils.remove(getCacheName(), getCacheKey(key));
}
/**
* 清空字典缓存
*/