kongdeqiang
2025-12-01 b2f0547067840c6ef5333216c5ee2cf38e07025a
src/main/resources/application.yml
@@ -1,5 +1,5 @@
server:
  port: 9999
  port: 10001
  servlet:
    session:
      timeout: 120m
@@ -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,25 @@
  #是否将告警内容转为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
router:
  host: 192.168.1.1
  username: xxxxx
  password: xxxxx