浏览代码

生产环境配置调整

yangbq 4 月之前
父节点
当前提交
118703f1f8
共有 1 个文件被更改,包括 32 次插入44 次删除
  1. 32 44
      project-admin/src/main/resources/application-prod.yml

+ 32 - 44
project-admin/src/main/resources/application-prod.yml

@@ -21,44 +21,32 @@ change:
 apiurl:
 apiurl:
   # 服务保障中心接口地址
   # 服务保障中心接口地址
   serviceUrl: http://25.39.79.244:18080/zhhq_app/zhhq_large_screen/queryByAppOrg
   serviceUrl: http://25.39.79.244:18080/zhhq_app/zhhq_large_screen/queryByAppOrg
-  # 楼宇运行监控 接口前缀
-  buildPrefix: http://25.39.67.168:10611/psbims/office/energy/
-  # 楼宇运行监控 碳排放量月度变化趋势图接口
-  buildCarbonEmissionStatistics: carbonEmissionStatistics
-  # 办公能耗情况接口 年度累计综合能耗
-  buildEnergyForYear: energyForYear
-  # 办公能耗情况接口 年度综合能耗趋势接口
-  buildEnergyStatistics: energyStatistics
-  # 办公能耗情况接口 年度累计电耗接口
-  buildPowerForYear: powerForYear
-  # 办公能耗情况接口 年度电耗趋势接口
-  buildElectricityStatistics: electricityStatistics
-  # 办公能耗情况接口 年度累计水耗接口
-  buildWaterForYear: waterForYear
-  # 办公能耗情况接口 年度水耗趋势接口
-  buildWaterStatistics: waterStatistics
-  # 办公能耗情况接口 年度累计非供暖能耗接口
-  buildNonHeatingEnergyForYear: nonHeatingEnergyForYear
-  # 办公能耗情况接口 年度非供暖能耗趋势接口
-  buildUsePowerStatistics: usePowerStatistics
-  # 办公能耗情况接口 月用电量信息接口
-  buildPowerForMonth: powerForMonth
-  # 办公能耗情况接口 楼宇月用水电热信息接口
-  buildUseHeatGas: useHeatGas
-  # 数据中心机房信息接口
-  buildDataCenterRoom: dataCenterRoom
-  # 供暖能耗信息接口
-  buildHeatingEnergy: heatingEnergy
-  # 燃气用量信息接口
-  buildGasInfo: gasInfo
-  # 资源信息接口
-  buildResourceInfo: resourceInfo
-  # 可再生电力信息接口
-  buildGreenPowerInfo: greenPowerInfo
-  # 办公碳排放情况接口
-  buildOfficeCarbonForYear: officeCarbonForYear
-  # 各单位年度累计办公碳排放量统计接口
-  buildOfficeCarbonForFloor: officeCarbonForFloor
+  # 楼宇运行监控 接口地址
+  buildPrefix: http://25.39.64.37:10611/psbims
+  # 楼宇运行监控 巡更次数统计(近6月)
+  jsonFrequency: /screen/patrol/frequency/statistics
+  # 办公能耗情况接口 巡更及时率
+  jsonPatrol: /screen/patrol/timeliness
+  # 办公能耗情况接口 巡更点统计
+  jsonPatrolPoint: /logistics/base/patrolPoint/countPoint
+  # 办公能耗情况接口 近一月楼宇能耗信息
+  jsonPowerWaterMonth: /screen/synthetical/power/water/year/total?timeType=month
+  # 办公能耗情况接口 空气概况
+  jsonAir: /screen/environment/air/overview
+  # 办公能耗情况接口 定额指标
+  jsonTarget: /screen/synthetical/target/build/person
+  # 办公能耗情况接口 用电分项(月)
+  jsonUseElectricity: /logistics/base/patrolPoint/usePowerStatistics
+  # 办公能耗情况接口 绿电比例
+  jsonGreenElectricity: /logistics/base/patrolPoint/greenElectricityAnalysis
+  # 办公能耗情况接口 碳排放量月度变化趋势图
+  jsonCarbon: /screen/carbon/carbonEmissionCurve
+  # 办公能耗情况接口 年度累计综合能粍
+  jsonEnergyYear: /office/energy/integrationEnergyForYear
+  # 办公能耗情况接口 年度累计电耗
+  jsonPowerYear: /office/energy/integrationPowerForYear
+  # 办公能耗情况接口 年度累计水耗
+  jsonWaterYear: /office/energy/integrationWaterForYear
 
 
 znhqcamera:
 znhqcamera:
   path: /usr/local/ffmpeg/bin/ffmpeg # ffmpeg安装的位置
   path: /usr/local/ffmpeg/bin/ffmpeg # ffmpeg安装的位置
@@ -93,8 +81,8 @@ business:
 # 日志配置
 # 日志配置
 logging:
 logging:
   level:
   level:
-    com.project: DEBUG
-    org.springframework: WARN
+    com.project: INFO
+    org.springframework: INFO
 
 
 # 用户配置
 # 用户配置
 user:
 user:
@@ -166,7 +154,7 @@ spring:
         url-pattern: /druid/*
         url-pattern: /druid/*
         # 控制台管理用户名和密码
         # 控制台管理用户名和密码
         login-username: admin
         login-username: admin
-        login-password: 123456
+        login-password: 1qaz@wsx2025
       filter:
       filter:
         stat:
         stat:
           enabled: true
           enabled: true
@@ -212,9 +200,9 @@ token:
 # MyBatisPlus配置
 # MyBatisPlus配置
 mybatis-plus:
 mybatis-plus:
   # 搜索指定包别名
   # 搜索指定包别名
-  typeAliasesPackage: com.project.**.domain
+  typeAliasesPackage: com.project.**.domain,com.xxl.job.admin.core.model
   # 配置mapper的扫描,找到所有的mapper.xml映射文件
   # 配置mapper的扫描,找到所有的mapper.xml映射文件
-  mapperLocations: classpath*:mapper/**/*Mapper.xml
+  mapperLocations: classpath*:mapper/**/*Mapper.xml,classpath:/mybatis-mapper/*Mapper.xml
   # 全局配置
   # 全局配置
   global-config:
   global-config:
     db-config:
     db-config:
@@ -249,7 +237,7 @@ pagehelper:
 # Swagger配置
 # Swagger配置
 swagger:
 swagger:
   # 是否开启swagger
   # 是否开启swagger
-  enabled: true
+  enabled: false
   # 请求前缀
   # 请求前缀
   pathMapping: /sxgw
   pathMapping: /sxgw