zhoupeng 1 year ago
parent
commit
646d9dd712
1 changed files with 2 additions and 2 deletions
  1. 2 2
      chaunyi_opc/opc_da/src/main/resources/application-dev.yml

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

@@ -10,7 +10,7 @@ spring:
       max-request-size: 500MB
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://192.168.1.99:3306/ei_rptdb?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
+    url: jdbc:mysql://localhost:3306/ei_rptdb?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
     username: root
     password: root
     hikari:
@@ -18,7 +18,7 @@ spring:
     static-locations: classpath:/static/,,file:${file.path},file:${file.location}
   redis:
     database: 0
-    host: 192.168.1.99
+    host: 127.0.0.1
     port: 6379
     #    password: 123456
     jedis: