update 适配 redis 新版本配置文件写法

This commit is contained in:
疯狂的狮子Li 2023-01-13 22:53:20 +08:00
parent 02bd7ec552
commit a3e23b259c
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ spring:
connectionTestQuery: SELECT 1
--- # redis 单机配置(单机与集群只能开启一个另一个需要注释掉)
spring:
spring.data:
redis:
# 地址
host: localhost

View File

@ -100,7 +100,7 @@ spring:
connectionTestQuery: SELECT 1
--- # redis 单机配置(单机与集群只能开启一个另一个需要注释掉)
spring:
spring.data:
redis:
# 地址
host: localhost