From e7778f9ce88945e8ddc4e8fc64b8cd314a08e207 Mon Sep 17 00:00:00 2001 From: wangqing <408564126@qq.com> Date: Fri, 8 Mar 2024 17:03:23 +0800 Subject: [PATCH] fix: update redis config --- luoo_comment/src/main/resources/bootstrap.yml | 2 ++ luoo_music/src/main/resources/bootstrap.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/luoo_comment/src/main/resources/bootstrap.yml b/luoo_comment/src/main/resources/bootstrap.yml index f951c0e..6c638ad 100644 --- a/luoo_comment/src/main/resources/bootstrap.yml +++ b/luoo_comment/src/main/resources/bootstrap.yml @@ -10,6 +10,8 @@ spring: redis: # 地址, 多个地址使用‘,’逗号分割 hosts: ${spring.redis.host} + port: ${spring.redis.port} + password: ${spring.redis.password} j2cache: openSpringCache: true diff --git a/luoo_music/src/main/resources/bootstrap.yml b/luoo_music/src/main/resources/bootstrap.yml index 28a6709..c6db6c4 100644 --- a/luoo_music/src/main/resources/bootstrap.yml +++ b/luoo_music/src/main/resources/bootstrap.yml @@ -13,7 +13,8 @@ spring: redis: # 地址, 多个地址使用‘,’逗号分割 hosts: ${spring.redis.host} - + port: ${spring.redis.port} + password: ${spring.redis.password} j2cache: openSpringCache: true # 缓存中不存在时,运行缓存空对象