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 # 缓存中不存在时,运行缓存空对象