perf: 对获取路由信息接口增加缓存处理

1.优化 Spring Cache 配置
2.暂时移除 Jackson 针对数值类型:Long、BigInteger、BigDecimal 的 toString 处理(TreeUtil 疑似在字符串类型 parentId 时会出现转换异常)
This commit is contained in:
2023-08-31 22:05:35 +08:00
parent d7c0dce608
commit 4639d13ba6
14 changed files with 181 additions and 105 deletions

View File

@@ -47,4 +47,9 @@ public class CacheConsts {
* 用户缓存键前缀
*/
public static final String USER_KEY_PREFIX = "USER";
/**
* 菜单缓存键前缀
*/
public static final String MENU_KEY_PREFIX = "MENU";
}