5 天以前 dce6e9cd95969b09e381431d8c2521fa802de2c2
yudao-server/src/main/resources/application-local.yaml
@@ -65,7 +65,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/mom-xgdl?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
          username: root
          password: 123456
@@ -75,7 +75,7 @@
      host: localhost # 地址
      port: 6379 # 端口
      database: 0 # 数据库索引
#      password: # 密码,建议生产环境开启
#      password: 123456
--- #################### 定时任务相关配置 ####################
@@ -198,3 +198,9 @@
    compress: true # 是否压缩图片
    need-compress-size: 10MB # 触发压缩的文件大小阈值
    compress-quality: 0.5 # 压缩质量(0.0-1.0)
# MES 数采(设备数据采集)配置,外部数采服务地址按实际部署填写
  mes:
    telemetry:
      base-url: http://106.227.91.252:3100 # 数采服务地址
      path: /api/jxjs/mesTb/getDeviceDetails