fix: 缓存设置

This commit is contained in:
zlg
2024-07-15 22:25:59 +08:00
parent 6b72a0eddf
commit dd05dfd4aa

View File

@@ -27,6 +27,11 @@ spring:
enabled: true enabled: true
config: config:
enabled: true enabled: true
#caffeine缓存
cache:
type: caffeine
caffeine:
spec: maximumSize=10000,expireAfterAccess=60s
# redis配置 # redis配置
redis: redis:
# Redis数据库索引默认为0 # Redis数据库索引默认为0