continew-org / continew-admin

🔥Almost最佳后端规范🔥持续迭代优化的前后端分离中后台管理系统框架,开箱即用,持续提供舒适的开发体验。当前采用技术栈:Spring Boot3(Java17)、Vue3 & Arco Design、TS、Vite5 、Sa-Token、MyBatis Plus、Redisson、JetCache、Jackson、Spring Doc、JustAuth、Easy Excel、Crane4j、Liquibase、Hutool 等。
https://continew.top
Apache License 2.0
456 stars 105 forks source link

字典 #46

Closed weirantongxue closed 5 months ago

weirantongxue commented 5 months ago

Bug 描述

/api/common/dict/{code} 在前端获取字典信息的时候.字典对应的code创建了值,但是接口只能查询到两个

去掉这个方法上的缓存注解直接走数据库没问题 @CachePenetrationProtect @CacheRefresh(refresh = 3600, stopRefreshAfterLastAccess = 7200) @Cached(key = "#code", name = CacheConstants.DICT_KEY_PREFIX)

复现步骤

image image

预期结果

返回对应值

环境信息

jdk 17 dev分支

额外补充

No response

确认

Charles7c commented 5 months ago

3.0.x 已去除字典缓存