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
config:
enabled: true
#caffeine缓存
cache:
type: caffeine
caffeine:
spec: maximumSize=10000,expireAfterAccess=60s
# redis配置
redis:
# Redis数据库索引默认为0