he.dujuan 3 gadi atpakaļ
vecāks
revīzija
1b7d23689e

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

@@ -4,12 +4,12 @@ spring:
     druid:
       db-type: com.alibaba.druid.pool.DruidDataSource
       driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
-#      url: jdbc:log4jdbc:mysql://114.55.24.6:3308/dm_restaurant?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
-#      username: root
-#      password: shimao@123
-      url: jdbc:log4jdbc:mysql://47.101.34.182:3306/dm_restaurant?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
-      username: dev
-      password: root
+      url: jdbc:log4jdbc:mysql://114.55.24.6:3308/dm_restaurant?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
+      username: root
+      password: shimao@123
+#      url: jdbc:log4jdbc:mysql://47.101.34.182:3306/dm_restaurant?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
+#      username: dev
+#      password: root
       # 初始连接数
       initial-size: 5
       # 最小连接数

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

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