Browse Source

redis加入密码

he.dujuan 3 years ago
parent
commit
76b0d8bc3a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      eladmin-system/src/main/resources/config/application.yml

+ 2 - 2
eladmin-system/src/main/resources/config/application.yml

@@ -28,10 +28,10 @@ spring:
 #    host: ${REDIS_HOST:114.55.24.6}
 #    port: ${REDIS_PORT:6386}
 #    host: ${REDIS_HOST:127.0.0.1}
-#    port: ${REDIS_PORT:6386}
+#    port: ${REDIS_PORT:6379}
     host: ${REDIS_HOST:10.21.39.1}
     port: ${REDIS_PORT:6386}
-    password: ${REDIS_PWD:}
+    password: ${REDIS_PWD:UCSNxJ@k}
     #连接超时时间
     timeout: 5000ms