能源耗用量top10地区
GET
http://192.168.10.79:5000/EnergyRegionRank?type=水
接口描述
用于查询能源耗用量最多的10个地区,type参数默认为'电',json数据
请求参数
参数名
类型
描述
必填
type
char
能源种类
必填
响应参数
参数名
类型
描述
必填
code
int
200:请求成功
必填
data
json
返回能源耗用量最多的10个地区的信息(耗能总量,平均耗能,人口总数,地区名,能源类型)
必填