文档
测试

查看报表

POST
/admin/queryReport

接口描述

查看报表

请求头

参数名
类型
描述
必填
示例
Content-Type
string
必填
application/json
Authorization
string
token
必填
eyJ0eXAiOiJKV1Q

请求参数

参数名
类型
描述
必填
示例
pile_id
int
充电桩编号
必填
start_date
date
开始日期
必填
end_date
date
截止时间
必填

成功时返回

参数名
类型
描述
必填
示例
code
int
响应码
必填
1
message
string
响应信息
可选
data
object
数据字典
必填
total_charge_num
int
累计充电次数
必填
total_charge_time
double
累计充电时长(小时)
必填
total_capacity
double
累计充电电量
必填
total_charge_fee
double
充电费
必填
total_service_fee
double
服务费
必填
total_fee
double
总费用
必填
start_date
date
开始日期
必填
end_date
date
截止时间
必填

失败时返回

参数名
类型
描述
必填
示例
code
int
响应码
必填
0
message
string
响应消息
必填
详单不存在