Jelajahi Sumber

将访问数据库从prod转向dev

zhuoning 3 tahun lalu
induk
melakukan
e2cb486d0b

+ 1 - 1
huimv-farm-v2/huimv-center-receiver/src/main/resources/application-dev.yml

@@ -2,7 +2,7 @@ server:
   port: 10091
 spring:
   application:
-    name: pigfarm-local-device
+    name: huimv-center-receiver
   #------DataSource-----
   datasource:
     url: jdbc:mysql://192.168.1.7:3306/huimv-farm-center?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai

+ 2 - 2
huimv-farm-v2/huimv-center-receiver/src/main/resources/application.properties

@@ -1,5 +1,5 @@
-#spring.profiles.active=dev
-spring.profiles.active=prod
+spring.profiles.active=dev
+#spring.profiles.active=prod
 
 #ʱ¼ä¸ñʽÅäÖÃ
 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss