用电分析_1 websocket测试 POST localhost:8083/api/jzyn/tongji/YongDianFenXi_1 接口描述 按年月日查询综合能耗和折标煤值 说明 / 示例 ## 请求参数示例 ```json { "type": "month", "attribute": "electricity" } ``` 字段解释 - type:按日查:day;按月查:month;按年查:year - attribute:这里固定传`electricity` ## 返回值示例 ```json { "total": 7004.29, "coalRatioTotal": 7004.29 } ``` 字段解释 - total:综合能耗 - coalRatioTotal:折标煤值
## 请求参数示例 ```json { "type": "month", "attribute": "electricity" } ``` 字段解释 - type:按日查:day;按月查:month;按年查:year - attribute:这里固定传`electricity` ## 返回值示例 ```json { "total": 7004.29, "coalRatioTotal": 7004.29 } ``` 字段解释 - total:综合能耗 - coalRatioTotal:折标煤值