he.dujuan 3 gadi atpakaļ
vecāks
revīzija
41fbed2762

+ 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
       # 最小连接数

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

@@ -1,5 +1,4 @@
 server:
-#  port: 6102
   port: 1537
 
 spring:
@@ -20,13 +19,13 @@ spring:
     port: 11673
     username: usermq
     password: User!@#$mq
+  #    username: rabbit
+  #    password: Rabbit!@#$123
 
 #    host: 127.0.0.1
-#    host: 192.168.1.7
 #    port: 5672
 #    username: admin
 #    password: admin
-#    virtualHost: /
 
   #配置 Jpa
   jpa:
@@ -39,7 +38,7 @@ spring:
   redis:
     #数据库索引
     database: ${REDIS_DB:2}
-    host: ${REDIS_HOST:114.55.24.6}
+    host: ${REDIS_HOST:10.21.39.1}
     port: ${REDIS_PORT:6381}
 #    host: ${REDIS_HOST:127.0.0.1}
 #    port: ${REDIS_PORT:6379}