Redisson 配置

v1.4.1
hiparker 4 years ago
parent 86fb97aff4
commit 9a3a8a9dae

@ -50,9 +50,9 @@ redisson:
server:
enable: true
type: standalone
address: "127.0.0.1:6379"
password: 123456
database: 0
address: "${spring.redis.host}:${spring.redis.port}"
password: "${spring.redis.password}"
database: ${spring.redis.database}
# knife4j 文档 配置
knife4j:

@ -8,7 +8,7 @@ spring:
#redis 配置
redis:
database: 0
host: 127.0.0.1
host: 10.0.0.254
password: '123456'
port: 6379
@ -50,9 +50,9 @@ redisson:
server:
enable: true
type: standalone
address: "127.0.0.1:6379"
password: 123456
database: 0
address: "${spring.redis.host}:${spring.redis.port}"
password: "${spring.redis.password}"
database: ${spring.redis.database}
#mybatis-plus 插件
mybatis-plus:

@ -50,9 +50,9 @@ redisson:
server:
enable: true
type: standalone
address: "127.0.0.1:6379"
password: 123456
database: 0
address: "${spring.redis.host}:${spring.redis.port}"
password: "${spring.redis.password}"
database: ${spring.redis.database}
# knife4j 文档 配置
knife4j:

Loading…
Cancel
Save