文档
测试

实时数据列表

POST
http://192.168.0.7:8082/gateway/handle/changshu/statistics/actual/collect/data

请求参数

参数名
类型
描述
必填
type
int
示例:1 (1:查询全部数据,0:查询当天数据)
必填
centerCode
string
示例:298942956368
必填
page
int
示例:0
必填
limit
string
示例:15
必填
date
Date
某一日数据
必填
startTime
Date
开始日期
必填
endTime
Date
结束日期
必填

响应参数

参数名
类型
描述
必填
code
string
示例:0
必填
result
object
数据字典
必填
total
int
示例:3
必填
limit
int
示例:15
必填
page
int
示例:0
必填
list
array
数据列表
必填
houseSort
int
示例:2
必填
trashCode
string
示例:222
必填
typeName
string
示例:其他垃圾
必填
weight
float
示例:204.958
必填
time
string
示例:9月6日 7:08:16
必填
status
int
示例:200
必填
timestamp
int
示例:1599809102454
必填

说明 / 示例

{ "code": "0", "result": { "total": 3, "limit": 15, "page": 0, "list": [ { "houseSort": 2, "trashCode": "222", "typeName": "其他垃圾", "weight": 204.958, "time": "9月6日 7:08:16" }, { "houseSort": 4, "trashCode": "733", "typeName": "其他垃圾", "weight": 565.391, "time": "9月5日 18:35:31" }, { "houseSort": 1, "trashCode": "515", "typeName": "可回收物", "weight": 63.022, "time": "9月4日 22:50:11" } ] }, "status": 200, "timestamp": 1599809102454 }