文档
测试

累计能耗

GET
http://192.168.1.73:8080/api/energy_consumption_statistics/

请求头

参数名
类型
描述
必填
Authorization
string
示例:jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTk5MDE3MTQ0LCJlbWFpbCI6IiJ9.b7ck_L64UqV-e31vjouT4rsSKxnTiqeWBBWAQfu8Mgg
必填

请求参数

参数名
类型
描述
必填
device_type
string
示例:1
必填
area
string
示例:0
必填
device_id
string
示例:0
必填
language
string
示例:cn
必填

响应参数

参数名
类型
描述
必填
status
int
示例:0
必填
today_energy_consumption
float
示例:203.82
必填
this_week_energy_consumption
float
示例:1712.78
必填
this_month_energy_consumption
float
示例:7221.55
必填
this_year_energy_consumption
float
示例:55412.2
必填
today_to_yesterday
string
示例:0.00%
必填
this_week_to_last_week
string
示例:-7.88%
必填
this_month_to_last_month
string
示例:0.00%
必填
this_year_to_last_year
string
示例:0.00%
必填
today_data_dict
object
数据字典
必填
date_list
array
数据列表
必填
data_list
array
数据列表
必填
this_week_data_dict
object
数据字典
必填
date_list
array
数据列表
必填
data_list
array
数据列表
必填
this_month_data_dict
object
数据字典
必填
date_list
array
数据列表
必填
data_list
array
数据列表
必填
this_year_data_dict
object
数据字典
必填
date_list
array
数据列表
必填
data_list
array
数据列表
必填
unit
string
示例:kWh
必填