配置文件新增redis数据库索引属性
This commit is contained in:
parent
854a6f805f
commit
fd7e88a518
|
@ -60,10 +60,10 @@ spring:
|
|||
redis:
|
||||
# 地址
|
||||
host: localhost
|
||||
# 设置不同的库,默认值为0,redis默认16个,即0到15
|
||||
database: 0
|
||||
# 端口,默认为6379
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
database: 0
|
||||
# 密码
|
||||
password:
|
||||
# 连接超时时间
|
||||
|
|
Loading…
Reference in New Issue