style: 优化 Redis 配置写法

This commit is contained in:
Charles7c 2023-03-31 22:33:03 +08:00
parent 7dda38d2b8
commit 74e61a0111
2 changed files with 28 additions and 30 deletions

View File

@ -51,8 +51,7 @@ spring.liquibase:
change-log: classpath:/db/changelog/db.changelog-master.yaml change-log: classpath:/db/changelog/db.changelog-master.yaml
--- ### Redis 单机配置 --- ### Redis 单机配置
spring: spring.data:
data:
redis: redis:
# 地址 # 地址
host: ${REDIS_HOST:127.0.0.1} host: ${REDIS_HOST:127.0.0.1}

View File

@ -51,8 +51,7 @@ spring.liquibase:
change-log: classpath:/db/changelog/db.changelog-master.yaml change-log: classpath:/db/changelog/db.changelog-master.yaml
--- ### Redis 单机配置 --- ### Redis 单机配置
spring: spring.data:
data:
redis: redis:
# 地址 # 地址
host: ${REDIS_HOST:127.0.0.1} host: ${REDIS_HOST:127.0.0.1}