Prechádzať zdrojové kódy

更新aws 数据库时区

wuweihao 2 rokov pred
rodič
commit
d360539a28

+ 1 - 1
720yun_fd_manage/gis_application/src/main/resources/application-locProAws.properties

@@ -10,7 +10,7 @@ service.ip=3.120.132.91
 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
 
-spring.datasource.druid.url=jdbc:mysql://${service.ip}:13306/${project.name}?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
+spring.datasource.druid.url=jdbc:mysql://${service.ip}:13306/${project.name}?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
 spring.datasource.druid.username=root
 spring.datasource.druid.password=JK20220120%JIK
 

+ 1 - 1
720yun_fd_manage/gis_application/src/main/resources/application-proAws.properties

@@ -7,7 +7,7 @@ service.ip=172.31.42.151
 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
 
-spring.datasource.druid.url=jdbc:mysql://${service.ip}:13306/${project.name}?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
+spring.datasource.druid.url=jdbc:mysql://${service.ip}:13306/${project.name}?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
 spring.datasource.druid.username=root
 spring.datasource.druid.password=JK20220120%JIK
 

+ 2 - 2
720yun_fd_manage/gis_application/src/main/resources/application.properties

@@ -2,8 +2,8 @@ server.port=8001
 server.servlet.context-path=/qjkankan
 
 #spring.profiles.active=locPro
-spring.profiles.active=locSit
-#spring.profiles.active=locProAws
+#spring.profiles.active=locSit
+spring.profiles.active=locProAws
 #spring.profiles.active=locSitAws