yml redis中设置密码
spring:
autoconfigure:
exclude: org.springframework.cloud.netflix.ribbon.RibbonAutoConfiguration #非常重要 sca 兼容sc2020 重要配置
jackson:
default-property-inclusion: non_null
redis:
host: ${REDIS_URL:redis}
password: xxx
spring:
autoconfigure:
exclude: org.springframework.cloud.netflix.ribbon.RibbonAutoConfiguration #非常重要 sca 兼容sc2020 重要配置
jackson:
default-property-inclusion: non_null
redis:
host: ${REDIS_URL:redis}
password: xxx