Browse Source

互联网环境替换

yangyue 1 year ago
parent
commit
114f46fe0e

+ 2 - 2
duty-service/src/main/resources/application-dev.yml

@@ -7,7 +7,7 @@ server:
 spring:
   devtools.restart.enabled: true
   redis:
-    host: 8.140.240.182
+    host: 8.130.72.63
     port: 18084
     database: 3
 #    password: root@2022!
@@ -23,7 +23,7 @@ spring:
     type: com.alibaba.druid.pool.DruidDataSource
     druid:
       driverClassName: com.mysql.cj.jdbc.Driver
-      url: jdbc:mysql://8.140.240.182:18080/duty?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
+      url: jdbc:mysql://8.130.72.63:18080/duty?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
       username: root
       password: Taiji@2023#data
       # 初始连接数

+ 2 - 2
duty-service/src/main/resources/application.yml

@@ -1,8 +1,8 @@
 spring:
   application.name: duty-service
 #  profiles.active: local
-#  profiles.active: dev
-  profiles.active: prod
+  profiles.active: dev
+#  profiles.active: prod
   servlet:
     multipart:
       # 单个文件大小