From 92528d903854b02ba8eb3986006a8d0858481b5e Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期二, 01 九月 2026 08:53:16 +0800
Subject: [PATCH] fix: 数据导入页模板名/下载路径对齐实际模板文件(.xls→.xlsx、补个体客运模板下载路径)
---
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 e819dd2..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:3308/traffic_audit?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
+ 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