zhoupeng 2 years ago
parent
commit
41592787c3

+ 1 - 1
chaunyi_opc/opc_da/src/main/resources/application.yml

@@ -1,6 +1,6 @@
 spring:
 spring:
   profiles:
   profiles:
-    active: dev
+    active: @spring.profiles.active@
   jackson:
   jackson:
     date-format: yyyy-MM-dd HH:mm:ss
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8
     time-zone: GMT+8

+ 4 - 1
chaunyi_opc/opc_ua/src/main/resources/application.yml

@@ -1,6 +1,9 @@
 spring:
 spring:
   profiles:
   profiles:
-    active: dev
+    active: @spring.profiles.active@
+  jackson:
+    date-format: yyyy-MM-dd HH:mm:ss
+    time-zone: GMT+8
 
 
 mybatis:
 mybatis:
   mapper-locations: classpath:mapper/*.xml
   mapper-locations: classpath:mapper/*.xml