diff --git a/luoo_comment/src/main/resources/bootstrap.yml b/luoo_comment/src/main/resources/bootstrap.yml index 6c638ad..df71fa5 100644 --- a/luoo_comment/src/main/resources/bootstrap.yml +++ b/luoo_comment/src/main/resources/bootstrap.yml @@ -9,8 +9,7 @@ spring: redis: # 地址, 多个地址使用‘,’逗号分割 - hosts: ${spring.redis.host} - port: ${spring.redis.port} + hosts: ${spring.redis.host}:${spring.redis.port} password: ${spring.redis.password} j2cache: diff --git a/luoo_music/src/main/resources/bootstrap.yml b/luoo_music/src/main/resources/bootstrap.yml index c6db6c4..76aac3e 100644 --- a/luoo_music/src/main/resources/bootstrap.yml +++ b/luoo_music/src/main/resources/bootstrap.yml @@ -12,8 +12,7 @@ spring: max-request-size: 200MB redis: # 地址, 多个地址使用‘,’逗号分割 - hosts: ${spring.redis.host} - port: ${spring.redis.port} + hosts: ${spring.redis.host}:${spring.redis.port} password: ${spring.redis.password} j2cache: openSpringCache: true