From b38469269d05b02cd67afbbbae65f0ae28f87b4e Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Tue, 12 Aug 2025 01:00:22 +0800
Subject: [PATCH] 1
---
trading-order-admin/src/main/resources/application-local.yml | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/trading-order-admin/src/main/resources/application-local.yml b/trading-order-admin/src/main/resources/application-local.yml
index c445822..f1d125d 100644
--- a/trading-order-admin/src/main/resources/application-local.yml
+++ b/trading-order-admin/src/main/resources/application-local.yml
@@ -1,8 +1,8 @@
server:
- port: 8085
+ port: 8086
spring:
datasource:
- url: jdbc:mysql://127.0.0.1:3306/trading_order?allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
+ url: jdbc:mysql://127.0.0.1:3306/trading_order?allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&serverTimezone=Europe/Paris&useLegacyDatetimeCode=false
username: root
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
@@ -14,6 +14,13 @@
validation-timeout: 3000 # 设置连接验证超时
auto-commit: true
connection-test-query: SELECT 1
+ jpa:
+ properties:
+ hibernate:
+ jdbc:
+ time_zone: Europe/Paris
+ jackson:
+ time-zone: Europe/Paris
cache:
type: redis
redis:
@@ -46,4 +53,4 @@
maxTotal: 50
host: 127.0.0.1
port: 6379
-# password: xJjSHKNYbJXzWTim
+# password: xJjSHKNYbJXzWTim
\ No newline at end of file
--
Gitblit v1.9.3