From 9e2d2e384563f4614eac1a53224e2a491e16c721 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Sun, 7 Sep 2025 21:26:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E5=88=B0=E8=85=BE=E8=AE=AF=E4=BA=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/dataSources.xml | 8 ++++---- .../src/main/resources/application-build.yml | 3 +++ leopard-server/src/main/resources/application.yml | 5 +---- leopard-strategy/src/main/resources/application.yml | 10 ++++++++++ 4 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 leopard-server/src/main/resources/application-build.yml create mode 100644 leopard-strategy/src/main/resources/application.yml diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 69f0e39..1d7924f 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -27,11 +27,11 @@ $ProjectFileDir$ - + postgresql true org.postgresql.Driver - jdbc:postgresql://192.168.31.127:6785/postgres + jdbc:postgresql://81.71.3.24:6785/postgres @@ -39,11 +39,11 @@ $ProjectFileDir$ - + postgresql true org.postgresql.Driver - jdbc:postgresql://192.168.31.127:6785/leopard + jdbc:postgresql://81.71.3.24:6785/leopard diff --git a/leopard-server/src/main/resources/application-build.yml b/leopard-server/src/main/resources/application-build.yml new file mode 100644 index 0000000..f3cca02 --- /dev/null +++ b/leopard-server/src/main/resources/application-build.yml @@ -0,0 +1,3 @@ +spring: + datasource: + url: jdbc:postgresql://127.0.0.1:6785/leopard \ No newline at end of file diff --git a/leopard-server/src/main/resources/application.yml b/leopard-server/src/main/resources/application.yml index 8e4dbf8..12e7c1c 100644 --- a/leopard-server/src/main/resources/application.yml +++ b/leopard-server/src/main/resources/application.yml @@ -11,16 +11,13 @@ spring: datasource: # url: jdbc:mysql://mysql.lanyuanxiaoyao.com:43780/leopard?useSSL=false # url: jdbc:mysql://192.168.31.127:3780/leopard?useSSL=false - url: jdbc:postgresql://192.168.31.127:6785/leopard + url: jdbc:postgresql://81.71.3.24:6785/leopard username: leopard password: '9NEzFzovnddf@PyEP?e*AYAWnCyd7UhYwQK$pJf>7?ccFiN^x4$eKEZ5~E<7<+~X' # driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: org.postgresql.Driver jpa: generate-ddl: true - properties: - hibernate: - dialect: org.hibernate.dialect.PostgresPlusDialect quartz: wait-for-jobs-to-complete-on-shutdown: true startup-delay: 30s diff --git a/leopard-strategy/src/main/resources/application.yml b/leopard-strategy/src/main/resources/application.yml new file mode 100644 index 0000000..d6c0fe5 --- /dev/null +++ b/leopard-strategy/src/main/resources/application.yml @@ -0,0 +1,10 @@ +spring: + application: + name: leopard-strategy + datasource: + url: jdbc:postgresql://192.168.31.127:6785/leopard + username: leopard + password: '9NEzFzovnddf@PyEP?e*AYAWnCyd7UhYwQK$pJf>7?ccFiN^x4$eKEZ5~E<7<+~X' + driver-class-name: org.postgresql.Driver +fenix: + print-banner: false