| | |
| | | |
| | | --- #################### 数据库相关配置 #################### |
| | | spring: |
| | | config: |
| | | # 本地桥接密钥放在仓库根目录的 Git 忽略文件中,不打进 Java 包。 |
| | | import: optional:file:${MOM_AGENT_JAVA_CONFIG:./application-my.yaml} |
| | | autoconfigure: |
| | | # noinspection SpringBootApplicationYaml |
| | | exclude: |
| | |
| | | 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 |
| | | |
| | |
| | | enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试; |
| | | security: |
| | | mock-enable: true |
| | | agent: |
| | | bridge: |
| | | write-enabled: false # 智能体物料导入写开关;仅联调验收时临时打开 |
| | | allow-mes-sync: false |
| | | max-rows: 5000 |
| | | access-log: # 访问日志的配置项 |
| | | enable: false |
| | | demo: false # 关闭演示模式 |