zhang
6 天以前 cab66ddd879dafcee85965e76d52347a5301e5f7
zy-acs-manager/src/main/resources/application.yml
@@ -7,9 +7,7 @@
    static-path-pattern: /**
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    url: jdbc:mysql://127.0.0.1:33066/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    url: jdbc:mysql://mysql:3306/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://localhost:3306/rcs_ctu_stable?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: xltys1995
    type: com.alibaba.druid.pool.DruidDataSource
@@ -42,29 +40,28 @@
      maxRequestSize: 100MB
  jmx:
    enabled: false
  mail:
    host: smtp.qq.com
    username:
    password:
    default-encoding: UTF-8
    properties:
      mail:
        smtp:
          auth: true
          socketFactory:
            class: javax.net.ssl.SSLSocketFactory
            port: 465
redis:
  host: 127.0.0.1
  #  host: redis
  host: localhost
  password: xltys1995
  port: 6379
#  port: 63799
  max: 30
  min: 10
  timeout: 5000
  index: 3
  index: 8
convey-plc:
  host: localhost
  port: 9090
  timeout: 15000
  url: /cv/station/query
uplink:
  enabled: true
  host: localhost
  port: 8082
  timeout: 30000
  url: /rsf-open-api/rcs/api/open/task/report
floyd:
  enable: false
@@ -92,11 +89,28 @@
logging:
  file:
    path: stock/out/rcs-manager/logs
    path: /stock/out/rcs-manager/logs
config:
  system-name: @pom.artifactId@
  system-version: @pom.version@
  system-mode: OFFLINE
  open-office-home: C
  swagger-base-package: com.zy.acs
  swagger-title: ACS API文档
  swagger-title: RCS API文档
  swagger-version: 1.0
  token-key: KUHSMcYQ4lePt3r6bckz0P13cBJyoonYqInThvQlUnbsFCIcCcZZAbWZ6UNFztYNYPhGdy6eyb8WdIz8FU2Cz396TyTJk3NI2rtXMHBOehRb4WWJ4MdYVVg2oWPyqRQ2
  token-key: KUHSMcYQ4lePt3r6bckz0P13cBJyoonYqInThvQlUnbsFCIcCcZZAbWZ6UNFztYNYPhGdy6eyb8WdIz8FU2Cz396TyTJk3NI2rtXMHBOehRb4WWJ4MdYVVg2oWPyqRQ2
charger:
  modbus:
    host: 192.168.1.100
    port: 502
    unit-id: 1
    connect-timeout: 3000      # 连接超时(毫秒)
    transaction-timeout: 5000  # 读写超时(毫秒)
    retry:
      max-attempts: 3          # 启动时最大重试次数
      initial-delay: 1000      # 重试间隔(毫秒)
    heartbeat:
      enabled: true
      interval: 30000          # 心跳间隔(毫秒)