Selaa lähdekoodia

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

疯狂的狮子Li 2 vuotta sitten
vanhempi
commit
a3e23b259c

+ 1 - 1
ruoyi-admin/src/main/resources/application-dev.yml

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

+ 1 - 1
ruoyi-admin/src/main/resources/application-prod.yml

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