zhoupeng 1 年之前
父节点
当前提交
a8f90ac5cf

+ 5 - 10
chaunyi_opc/opc_da/src/main/resources/application-dev.yml

@@ -10,20 +10,15 @@ spring:
       max-request-size: 500MB
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://localhost:3306/ei_rptdb?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
+    url: jdbc:mysql://192.168.1.99:3306/ei_rptdb?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
     username: root
     password: root
     hikari:
-      minimum-idle: 100
-      connection-timeout: 30000
-      idle-timeout: 1800000
-      maximum-pool-size: 500
-      max-lifetime: 1800000
   resources:
     static-locations: classpath:/static/,,file:${file.path},file:${file.location}
   redis:
     database: 0
-    host: 127.0.0.1
+    host: 192.168.1.99
     port: 6379
     #    password: 123456
     jedis:
@@ -37,6 +32,6 @@ mybatis:
   configuration:
     #开启sql日志文件
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
-logging:
-  level:
-    root: error
+#logging:
+#  level:
+#    root: error

+ 0 - 5
chaunyi_opc/opc_da/src/main/resources/application-prod.yml

@@ -14,11 +14,6 @@ spring:
     username: root
     password: root
     hikari:
-      minimum-idle: 100
-      connection-timeout: 30000
-      idle-timeout: 1800000
-      maximum-pool-size: 500
-      max-lifetime: 1800000
   resources:
     static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.path},file:${file.location}
   redis: