Commit fd7e88a51893ca0290db9c869bff36f5cbecbe94

Authored by RuoYi
1 parent 854a6f80

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

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