liu
12 小时以前 43aab58c9ecb1203770ba382efbdbae299ca87ec
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 # 关闭演示模式