From 5b41c8896ef7850be2672e45b69bb58e149729ec Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期二, 01 十二月 2026 09:03:48 +0800
Subject: [PATCH] feat(货运统计): 完善台账核查与轨迹里程管理功能
---
traffic-audit-server/src/main/resources/application.yml.example | 28 +++++++++++++++++++++++++---
1 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/traffic-audit-server/src/main/resources/application.yml.example b/traffic-audit-server/src/main/resources/application.yml.example
index dc87cf7..609cc4c 100644
--- a/traffic-audit-server/src/main/resources/application.yml.example
+++ b/traffic-audit-server/src/main/resources/application.yml.example
@@ -15,8 +15,8 @@
spring:
datasource:
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}
+ username: ${TRAFFIC_DB_USER:root}
+ password: ${TRAFFIC_DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
servlet:
multipart:
@@ -41,7 +41,8 @@
logic-not-delete-value: 0
jwt:
- secret: ${JWT_SECRET:change-me-jwt-secret}
+ # 蹇呴』鏄�孊ase64 鍚堟硶瀛楃 + 闀垮害鏄� 4 鐨勫�嶆暟銆嶏紱涓嬮潰杩欎覆 32 浣嶅崄鍏繘鍒跺彲鐩存帴鐢�
+ secret: ${TRAFFIC_JWT_SECRET:8f2c1d64a7b34e09c5d81f6a2b0e7c93}
expiration: 86400000
docs:
@@ -62,6 +63,27 @@
investment:
template-dir: docs/鎶曡祫/妯℃澘
+ledger:
+ audit:
+ max-issues: 10000
+ map:
+ # Map distance is mandatory for turnover over-reporting calculations.
+ required: true
+ # auto selects AMap first, then Baidu. Explicit values: amap, baidu, osrm, none.
+ provider: ${LEDGER_MAP_PROVIDER:auto}
+ # OSRM needs a geocoder. Explicit values: amap, baidu or nominatim.
+ geocoder: ${LEDGER_MAP_GEOCODER:auto}
+ amap-key: ${AMAP_WEB_SERVICE_KEY:}
+ baidu-ak: ${BAIDU_MAP_AK:}
+ osrm-base-url: ${OSRM_BASE_URL:https://router.project-osrm.org}
+ # For production, point this to a self-hosted Nominatim instance.
+ nominatim-base-url: ${NOMINATIM_BASE_URL:https://nominatim.openstreetmap.org}
+ # Public Nominatim requires at most one request per second; set 0 for a private instance.
+ nominatim-min-interval-ms: ${NOMINATIM_MIN_INTERVAL_MS:1100}
+ nominatim-user-agent: ${NOMINATIM_USER_AGENT:trafficAudit-ledger-audit/1.0}
+ timeout-ms: 5000
+ max-route-pairs: 5000
+
deepseek:
api-key: ${DEEPSEEK_API_KEY:your-deepseek-api-key}
api-url: https://api.deepseek.com/v1/chat/completions
--
Gitblit v1.9.1