From cf57c2b3afba115820acb3633e860df379a2681c Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期五, 28 八月 2026 11:08:08 +0800
Subject: [PATCH] docs: 复核数据导入崩溃——batches 接口数据极小非根因,指向客户端环境
---
traffic-audit-server/src/main/resources/application.yml.example | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/traffic-audit-server/src/main/resources/application.yml.example b/traffic-audit-server/src/main/resources/application.yml.example
index e1785be..1a5477c 100644
--- a/traffic-audit-server/src/main/resources/application.yml.example
+++ b/traffic-audit-server/src/main/resources/application.yml.example
@@ -4,10 +4,14 @@
spring:
datasource:
- url: jdbc:mysql://localhost:3305/traffic_audit?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
+ url: jdbc:mysql://localhost:3305/traffic_audit?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
username: root
password: ${MYSQL_PASSWORD:root}
driver-class-name: com.mysql.cj.jdbc.Driver
+ servlet:
+ multipart:
+ max-file-size: 100MB
+ max-request-size: 100MB
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: Asia/Shanghai
@@ -29,6 +33,24 @@
secret: ${JWT_SECRET:change-me-jwt-secret}
expiration: 86400000
+docs:
+ template-root: docs
+
+city-passenger:
+ template-dir: docs/鍩庡競瀹㈣繍
+
+passenger:
+ template-dir: docs/鍏矾鏃呭
+
+freight:
+ template-dir: docs/璐ц繍
+
+energy:
+ template-dir: docs/鑳借��
+
+investment:
+ template-dir: docs/鎶曡祫/妯℃澘
+
deepseek:
api-key: ${DEEPSEEK_API_KEY:your-deepseek-api-key}
api-url: https://api.deepseek.com/v1/chat/completions
--
Gitblit v1.9.1