From 3a2cbad293610ca9e4290bfa8da3b2b94da99587 Mon Sep 17 00:00:00 2001 From: donghanyang <1452562016@qq.com> Date: Thu, 4 Dec 2025 17:21:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=5Fsqlserver=E6=94=B9=E4=B8=BAv1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/vcs.xml | 2 +- pom.xml | 19 +++++++++++++++++++ src/main/resources/application.yml | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) 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