diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 94a25f7..35eb1dd 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 8dbaf3d..596dbe2 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,25 @@ + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring.boot.version} + + + + + repackage + + + + + + com.link.TestApplication + + diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 9dcefae..83f6461 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -10,7 +10,7 @@ spring: maximum-pool-size: 50 wechart: - jdbc-url: jdbc:sqlserver://18.142.225.183:1455;databaseName=wechart;loginTimeout=30;connectTimeout=30000;encrypt=true;enabledTLSProtocols=TLSv1.2;trustServerCertificate=true + jdbc-url: jdbc:sqlserver://18.142.225.183:1455;databaseName=wechart;loginTimeout=30;connectTimeout=30000;encrypt=true;trustServerCertificate=true;sslProtocol=TLSv1 username: query_hz password: 8HxsYzefFBsLc8kksxa driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver