diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index 37d4e896..6d476c9c 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/ruoyi-admin/src/main/resources/application-dev.yml @@ -61,6 +61,8 @@ spring: host: 192.168.0.222 # 端口,默认为6379 port: 6379 + # 数据库索引 + database: 0 # 密码 password: # 连接超时时间 diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index 5a50c5f2..e9cf4a70 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -61,6 +61,8 @@ spring: host: 192.168.0.222 # 端口,默认为6379 port: 6379 + # 数据库索引 + database: 0 # 密码 password: # 连接超时时间