feat: 增加 spring cache 开关配置,默认关闭

This commit is contained in:
hxr
2023-12-09 14:33:07 +08:00
parent bfc631eb4c
commit 19fed752fd
3 changed files with 4 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ spring:
# 连接池中的最小空闲连接 默认0
min-idle: 0
cache:
enabled: false
# 缓存类型 redis、none(不使用缓存)
type: redis
# 缓存时间(单位ms)