From f329f504040f3608478c687a99aa36a3cf5720b7 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期六, 03 十月 2026 23:45:04 +0800
Subject: [PATCH] feat(observation): 新增观测站分日调查数据导入与明细查看
---
deploy-templates/jar-application.yml | 94 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 94 insertions(+), 0 deletions(-)
diff --git a/deploy-templates/jar-application.yml b/deploy-templates/jar-application.yml
new file mode 100644
index 0000000..9bfc876
--- /dev/null
+++ b/deploy-templates/jar-application.yml
@@ -0,0 +1,94 @@
+# ============================================================
+# 鎵撳寘鐢ㄣ�岃繘 jar 鐨勯粯璁ら厤缃�嶁�斺�斿彧鍏佽鍗犱綅绗︼紝绂佹鐪熷疄瀵嗛挜/鍙d护锛�
+#
+# pack-deploy.ps1 鏋勫缓鍓嶄細鐢ㄦ湰鏂囦欢涓存椂鏇挎崲
+# traffic-audit-server/src/main/resources/application.yml
+# 鏋勫缓瀹屾垚锛堝惈鍘诲瘑鑷锛夊悗鑷姩杩樺師寮�鍙戞満鐨勭湡瀹為厤缃��
+#
+# 閮ㄧ讲鏈虹湡瀹炲�肩敱涓嬮潰涓ょ鏂瑰紡瑕嗙洊锛屼紭鍏堢骇 鐜鍙橀噺 > jar 鍚岀骇 application.yml > 鏈枃浠讹細
+# 1) jar 鍚岀骇锛堝惎鍔ㄥ伐浣滅洰褰曪級鏀� application.yml锛岃 deploy-templates/backend/application.yml
+# 2) 鐜鍙橀噺 TRAFFIC_DB_URL / TRAFFIC_DB_USER / TRAFFIC_DB_PASSWORD /
+# TRAFFIC_JWT_SECRET / DEEPSEEK_API_KEY
+#
+# 娉ㄦ剰锛歱assword 榛樿鍊间负绌轰覆锛岃嫢閮ㄧ讲鏈烘棦娌℃湁澶栫疆 application.yml 涔熸病璁�
+# TRAFFIC_DB_PASSWORD锛屽惎鍔ㄤ細鎶� java.sql.SQLException: Access denied ... (using password: NO)
+# ============================================================
+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:
+ web:
+ resources:
+ static-locations: file:./web/,classpath:/static/
+ datasource:
+ url: ${TRAFFIC_DB_URL:jdbc:mysql://127.0.0.1:3306/traffic_audit?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true}
+ username: ${TRAFFIC_DB_USER:root}
+ password: ${TRAFFIC_DB_PASSWORD:}
+ 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
+
+mybatis-plus:
+ mapper-locations: classpath*:/mapper/**/*.xml
+ type-aliases-package: com.trafficaudit
+ configuration:
+ map-underscore-to-camel-case: true
+ # 鏄惧紡鎸囧畾 Slf4j锛歁yBatis-Plus 榛樿 StdOutImpl 浼氭妸鏁磋鏁版嵁锛堝惈浼佷笟鍚�/鐢佃瘽锛夋墦杩涙棩蹇�
+ log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
+ global-config:
+ db-config:
+ id-type: auto
+ logic-delete-field: deleted
+ logic-delete-value: 1
+ logic-not-delete-value: 0
+
+jwt:
+ secret: ${TRAFFIC_JWT_SECRET:8f2c1d64a7b34e09c5d81f6a2b0e7c93}
+ 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/鎶曡祫/妯℃澘
+
+summary:
+ template-dir: docs/鐢熸垚姹囨�诲ぇ琛�
+
+deepseek:
+ api-key: ${DEEPSEEK_API_KEY:}
+ api-url: https://api.deepseek.com/v1/chat/completions
+ model: deepseek-chat
+
+app:
+ cors:
+ allowed-origins: http://localhost:*,http://127.0.0.1:*,http://192.168.*:*,http://10.*:*,http://172.*:*
+ captcha:
+ required: false
--
Gitblit v1.9.1