kongdeqiang
2025-12-02 55f4c8cda0f426e3a8d31908018a6b9c890bc006
src/main/resources/application.yml
@@ -1,5 +1,5 @@
server:
  port: 9999
  port: 8889
  servlet:
    session:
      timeout: 120m
@@ -14,7 +14,7 @@
    name: wgcloud-server
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    url: jdbc:mysql://localhost:3306/wgcloud?characterEncoding=utf-8&characterSetResults=utf8&autoReconnect=true&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
    url: jdbc:mysql://120.1.33.103:10001/wgcloud?characterEncoding=utf-8&characterSetResults=utf8&autoReconnect=true&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
    username: root
    password: rootroot
    # hikari连接池的参数 相关设置
@@ -54,7 +54,7 @@
  #只读账号的密码
  guestAccountPwd: 111111
  #通信token,agent端和此保持一致
  wgToken: wgcloud
  wgToken: tssw
  #每页显示多少条数据,建议不小于10
  pageSize: 20
  #是否开启web ssh客户端,yes开启,no关闭
@@ -113,6 +113,8 @@
  mailContentSuffix: '<p><p><p>WGCLOUD敬上'
  #是否显示页面底部版权、网址信息,yes显示,no不显示,此功能需升级到专业版
  copyRight: yes
  year: 1
  month: 1
#告警配置,策略优先级按照前后顺序执行,比如告警总开关关闭时,那下面所有告警开关都会失效
mail:
@@ -191,4 +193,24 @@
  #是否将告警内容转为unicode,yes是,no否,在windows执行告警脚本时,一般需要转码,否则接受到会是乱码
  warnToUnicode: no
donghuan:
  ip: ip:port
  loginUrl: /collect/api/login
  deviceClassUrl: /collect/api/deviceClass/findAll
  intelligentUrl: /collect/api/intelligent/findAll
  findDevice: /collect/api/device/findDevice
  findDeviceVar: /collect/api/device/findDeviceVar
  findControlByDeviceId: /collect/api/realData/findControlByDeviceId
  control: /collect/api/device/control
  findValueByDeviceId: /collect/api/realData/findValueByDeviceId
  findValueByIntelligentId: /collect/api/realData/findValueByIntelligentId
  findValueByStationId: /collect/api/realData/findValueByStationId
  meterDatas: /collect/api/realData/meterDatas
  varDatas: /collect/api/realData/varDatas
  alarm: /collect/api/alarm/findByPage
osfService:
  host: 127.0.0.1
  port: 8081