Ver Fonte

修改redis

liyabo há 3 anos atrás
pai
commit
3d1e0ce1a7

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

@@ -25,10 +25,10 @@ spring:
   redis:
     #数据库索引
     database: ${REDIS_DB:2}
-#    host: ${REDIS_HOST:172.16.159.48}
-#    port: ${REDIS_PORT:6386}
-    host: ${REDIS_HOST:127.0.0.1}
-    port: ${REDIS_PORT:6379}
+    host: ${REDIS_HOST:172.16.159.48}
+    port: ${REDIS_PORT:6386}
+#    host: ${REDIS_HOST:127.0.0.1}
+#    port: ${REDIS_PORT:6379}
     password: ${REDIS_PWD:}
     #连接超时时间
     timeout: 5000ms