From c4ab66f2e68948bf4095e25e29dad49c55fc4ba8 Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期五, 18 九月 2026 16:35:01 +0800
Subject: [PATCH] feat(货运月报): 新增持续在规企业分市州1-8月累计运距及同比台账与测试报告

---
 traffic-audit-server/src/main/resources/application.yml.example |   18 +++++++++++++++++-
 1 files changed, 17 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 115bdd9..dc87cf7 100644
--- a/traffic-audit-server/src/main/resources/application.yml.example
+++ b/traffic-audit-server/src/main/resources/application.yml.example
@@ -1,6 +1,16 @@
 # 澶嶅埗涓� 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:
@@ -21,7 +31,8 @@
   type-aliases-package: com.trafficaudit
   configuration:
     map-underscore-to-camel-case: true
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    # 鏄惧紡鎸囧畾 Slf4j锛歁yBatis-Plus 榛樿 StdOutImpl 浼氭妸鏁磋鏁版嵁锛堝惈浼佷笟鍚�/鐢佃瘽锛夋墦杩涙棩蹇�
+    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
   global-config:
     db-config:
       id-type: auto
@@ -58,5 +69,10 @@
 
 # Behavior captcha on login. Set to false to skip verification during test phase; enable before production release.
 app:
+  cors:
+    # 鍏佽璺ㄥ煙璁块棶鎺ュ彛鐨勬潵婧愶紙閫楀彿鍒嗛殧锛屾敮鎸� * 閫氶厤涓绘満涓庣鍙o級锛�
+    # 娴忚鍣� POST/PUT/DELETE 蹇呭甫 Origin锛圙ET 涓嶅甫锛夛紝鏁呯敤 IP/鍩熷悕鎵撳紑椤甸潰鏃惰鏉ユ簮蹇呴』鍛戒腑姝ゅ垪琛紝鍚﹀垯 403銆�
+    # 榛樿鏀捐鏈満涓庡唴缃戠綉娈碉紱鑻ラ�氳繃鍩熷悕璁块棶锛岃鎶婅鍩熷悕锛堝惈绔彛锛夎拷鍔犲埌姝ゅ銆�
+    allowed-origins: http://localhost:*,http://127.0.0.1:*,http://192.168.*:*,http://10.*:*,http://172.*:*
   captcha:
     required: false

--
Gitblit v1.9.1