Commit 854a6f80 authored by 若依's avatar 若依 Committed by Gitee

!145 redis 增加 database配置项,设置不同的库

Merge pull request !145 from li_oxen/N/A
parents c86dc207 1caec85f
...@@ -60,6 +60,8 @@ spring: ...@@ -60,6 +60,8 @@ spring:
redis: redis:
# 地址 # 地址
host: localhost host: localhost
# 设置不同的库,默认值为0,redis默认16个,即0到15
database: 0
# 端口,默认为6379 # 端口,默认为6379
port: 6379 port: 6379
# 密码 # 密码
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment