From f0c4767215bd4b3511876c7ecd0bce48f9de43e7 Mon Sep 17 00:00:00 2001 From: weidong Date: Mon, 17 Feb 2025 16:14:17 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=A2=9E=E5=8A=A0=E5=81=A5=E5=BA=B7?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 + .../src/main/resources/application.properties | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 sec-beidou-ehm/src/main/resources/application.properties diff --git a/pom.xml b/pom.xml index 5d3c2ac6..25480f6c 100644 --- a/pom.xml +++ b/pom.xml @@ -17,6 +17,7 @@ sec-test-device sec-ntrip-proxy sec-exapi + sec-beidou-ehm diff --git a/sec-beidou-ehm/src/main/resources/application.properties b/sec-beidou-ehm/src/main/resources/application.properties new file mode 100644 index 00000000..ace2f1f3 --- /dev/null +++ b/sec-beidou-ehm/src/main/resources/application.properties @@ -0,0 +1,21 @@ +server.port=9912 +spring.application.name=beidou-ehm +spring.application.build=20250213 + +spring.jpa.show-sql = true +spring.jpa.hibernate.ddl-auto = none +spring.jpa.database-platform = org.hibernate.dialect.MySQLDialect +#spring.datasource.url = jdbc:mysql://localhost:3306/beidou?characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai +spring.datasource.url=jdbc:mysql://139.9.51.237:3306/beidou?characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai +spring.datasource.username = radmin +spring.datasource.password = DBMgr_2022 +spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver + +spring.jackson.dateFormat = yyyy-MM-dd HH:mm:ss +spring.jackson.time-zone = GMT+8 + +app.format.date = yyyy-MM-dd +app.format.time = HH:mm:ss +app.format.datetime = yyyy-MM-dd HH:mm:ss + +mybatis-plus.configuration.map-underscore-to-camel-case=false