Commit fd7e88a51893ca0290db9c869bff36f5cbecbe94

Authored by RuoYi
1 parent 854a6f80

配置文件新增redis数据库索引属性

ruoyi-admin/src/main/resources/application.yml
@@ -60,10 +60,10 @@ spring: @@ -60,10 +60,10 @@ spring:
60 redis: 60 redis:
61 # 地址 61 # 地址
62 host: localhost 62 host: localhost
63 - # 设置不同的库,默认值为0,redis默认16个,即0到15  
64 - database: 0  
65 # 端口,默认为6379 63 # 端口,默认为6379
66 port: 6379 64 port: 6379
  65 + # 数据库索引
  66 + database: 0
67 # 密码 67 # 密码
68 password: 68 password:
69 # 连接超时时间 69 # 连接超时时间