From 079d872fabfe488abf485d8898c40ff1fd746472 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期一, 31 八月 2026 09:48:44 +0800
Subject: [PATCH] docs: 交接约定——「提交」= commit + 推送远端 git

---
 traffic-audit-server/src/main/resources/application.yml.example |   39 ++++++++++++++++++++++++++++++++++++++-
 1 files changed, 38 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..fbec5e7 100644
--- a/traffic-audit-server/src/main/resources/application.yml.example
+++ b/traffic-audit-server/src/main/resources/application.yml.example
@@ -1,13 +1,27 @@
 # 澶嶅埗涓� application.yml 骞舵浛鎹㈠崰浣嶇鍚庝娇鐢紙鐪熷疄瀵嗛挜涓嶅叆搴擄級
 server:
   port: 8090
+  tomcat:
+    basedir: .
+    threads:
+      max: 500
+    accesslog:
+      enabled: true
+      directory: logs
+      prefix: access
+      suffix: .log
+      pattern: '%h %l %u %t "%r" %s %b %D'
 
 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,7 +43,30 @@
   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
   model: deepseek-chat
+
+# Behavior captcha on login. Set to false to skip verification during test phase; enable before production release.
+app:
+  captcha:
+    required: false

--
Gitblit v1.9.1