云
12 小时以前 795bc269ba9acfae74620059c4ed64bd121aa288
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/mom-hm?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,11 @@
    enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试;
  security:
    mock-enable: true
  agent:
    bridge:
      write-enabled: false # 智能体物料导入写开关;仅联调验收时临时打开
      allow-mes-sync: false
      max-rows: 5000
  access-log: # 访问日志的配置项
    enable: false
  demo: false # 关闭演示模式