From 43aab58c9ecb1203770ba382efbdbae299ca87ec Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期一, 26 十月 2026 15:12:31 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_business' into dev_business
---
yudao-server/src/main/resources/application-local.yaml | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml
index 4bf33fa..908ee89 100644
--- a/yudao-server/src/main/resources/application-local.yaml
+++ b/yudao-server/src/main/resources/application-local.yaml
@@ -3,6 +3,9 @@
--- #################### 鏁版嵁搴撶浉鍏抽厤缃� ####################
spring:
+ config:
+ # 鏈湴妗ユ帴瀵嗛挜鏀惧湪浠撳簱鏍圭洰褰曠殑 Git 蹇界暐鏂囦欢涓紝涓嶆墦杩� Java 鍖呫��
+ import: optional:file:${MOM_AGENT_JAVA_CONFIG:./application-my.yaml}
autoconfigure:
# noinspection SpringBootApplicationYaml
exclude:
@@ -65,7 +68,7 @@
primary: master
datasource:
master:
- url: jdbc:mysql://localhost:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 杩炴帴鐨勭ず渚�
+ url: jdbc:mysql://localhost:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # 鏈湴鑱旇皟娴嬭瘯搴�
username: root
password: 123456
@@ -186,6 +189,13 @@
enable: false # 鏈湴鐜锛屾殏鏃跺叧闂浘鐗囬獙璇佺爜锛屾柟渚跨櫥褰曠瓑鎺ュ彛鐨勬祴璇曪紱
security:
mock-enable: true
+ agent:
+ bridge-service-token: ${MOM_BRIDGE_SERVICE_TOKEN:local-mom-agent-bridge-2026}
+ bridge:
+ write-enabled: true # 鏈満鑱旇皟锛氬厑璁告櫤鑳戒綋鎻愪氦涓氬姟瀵煎叆
+ allow-mes-sync: false
+ max-rows: 5000
+ delegation-ttl-seconds: 1800 # Worker 鐭湡濮旀墭鏈�闀� 30 鍒嗛挓锛屼笉淇濆瓨鐢ㄦ埛鐧诲綍 Token
access-log: # 璁块棶鏃ュ織鐨勯厤缃」
enable: false
demo: false # 鍏抽棴婕旂ず妯″紡
--
Gitblit v1.9.3