From 1caec85f468c120b5defe2032f6b7a221570ab45 Mon Sep 17 00:00:00 2001 From: li_oxen Date: Sat, 19 Dec 2020 10:08:09 +0800 Subject: [PATCH] =?UTF-8?q?redis=20=E5=A2=9E=E5=8A=A0=20database=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9=EF=BC=8C=E8=AE=BE=E7=BD=AE=E4=B8=8D=E5=90=8C?= =?UTF-8?q?=E7=9A=84=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/application.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 50a2bb543..79af9327d 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -60,6 +60,8 @@ spring: redis: # 地址 host: localhost + # 设置不同的库,默认值为0,redis默认16个,即0到15 + database: 0 # 端口,默认为6379 port: 6379 # 密码