Closed weirantongxue closed 5 months ago
/api/common/dict/{code} 在前端获取字典信息的时候.字典对应的code创建了值,但是接口只能查询到两个
去掉这个方法上的缓存注解直接走数据库没问题 @CachePenetrationProtect @CacheRefresh(refresh = 3600, stopRefreshAfterLastAccess = 7200) @Cached(key = "#code", name = CacheConstants.DICT_KEY_PREFIX)
返回对应值
jdk 17 dev分支
No response
3.0.x 已去除字典缓存
Bug 描述
/api/common/dict/{code} 在前端获取字典信息的时候.字典对应的code创建了值,但是接口只能查询到两个
去掉这个方法上的缓存注解直接走数据库没问题 @CachePenetrationProtect @CacheRefresh(refresh = 3600, stopRefreshAfterLastAccess = 7200) @Cached(key = "#code", name = CacheConstants.DICT_KEY_PREFIX)
复现步骤
预期结果
返回对应值
环境信息
jdk 17 dev分支
额外补充
No response
确认