增加 Spring Cache 框架

This commit is contained in:
YunaiV
2022-04-03 13:23:00 +08:00
parent 3263b0ab5b
commit 49b906bbfe
14 changed files with 115 additions and 37 deletions

View File

@ -20,6 +20,10 @@ spring:
write-durations-as-timestamps: true # 设置 Duration 的格式,使用时间戳
fail-on-empty-beans: false # 允许序列化无属性的 Bean
# Cache 配置项
cache:
type: REDIS
# 工作流 Activiti 配置
activiti:
# 1. false: 默认值activiti启动时对比数据库表中保存的版本如果不匹配。将抛出异常