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

This commit is contained in:
hxr committed 2023-12-09 14:33:07 +08:00
1 parent bfc631eb4c
commit 19fed752fd
3 files changed
+4

No files matched your search

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