From 1a4736d91e588991ebce1a3cad88b2edd142471c Mon Sep 17 00:00:00 2001 From: weidong Date: Mon, 13 Nov 2023 14:59:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.properties | 10 ++++++---- sec-beidou/src/main/resources/application.properties | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/sec-beidou-rtcm/src/main/resources/application.properties b/sec-beidou-rtcm/src/main/resources/application.properties index 6620ce2a..fdb408e9 100644 --- a/sec-beidou-rtcm/src/main/resources/application.properties +++ b/sec-beidou-rtcm/src/main/resources/application.properties @@ -7,9 +7,9 @@ spring.application.build=20230924 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/bis-device?characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai -spring.datasource.username = root -spring.datasource.password = +spring.datasource.url = jdbc:mysql://localhost:3306/beidou?characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai +spring.datasource.username = admin +spring.datasource.password = DBMgr_2022 spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver spring.jackson.dateFormat = yyyy-MM-dd HH:mm:ss @@ -26,4 +26,6 @@ netty.port=9903 app.format.date = yyyy-MM-dd app.format.time = HH:mm:ss -app.format.datetime = yyyy-MM-dd HH:mm:ss \ No newline at end of file +app.format.datetime = yyyy-MM-dd HH:mm:ss + +mybatis-plus.configuration.map-underscore-to-camel-case=false \ No newline at end of file diff --git a/sec-beidou/src/main/resources/application.properties b/sec-beidou/src/main/resources/application.properties index eb1f491f..bb5aa987 100644 --- a/sec-beidou/src/main/resources/application.properties +++ b/sec-beidou/src/main/resources/application.properties @@ -1,7 +1,7 @@ # Attention: serverTimezone=Asia/Shanghai !!! -spring.datasource.url=jdbc:mysql://127.0.0.1:3306/bis-device?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=true -spring.datasource.username=root -spring.datasource.password= +spring.datasource.url=jdbc:mysql://127.0.0.1:3306/beidou?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=true +spring.datasource.username=admin +spring.datasource.password=DBMgr_2022 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.jpa.properties.hibernate.hbm2ddl.auto=update spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MYSQL5InnoDBDialect @@ -17,7 +17,7 @@ spring.thymeleaf.prefix=classpath:/templates spring.thymeleaf.suffix=.html #security -server.port=8668 +server.port=9901 server.servlet.context-path = / #server.ssl.key-store=classpath:tianheng.keystore #server.ssl.key-store-password=nbb2021