~~~[api]
get:/apiw.php/green/bigorder/listOrders
*int:worker_id#
number:longitude#经度
number:latitude#纬度
category#分类名称
province#
city#
county#
sort_field#排序字段,范围是distance(距离),ctime(发布时间),usernum_join(接单人数),usernum_bid(出价人数)
sort_type#排序类别,范围是asc(升序),desc(降序)
int:index=1#分页参数-页码,默认从1开始
int:limit=10#分页参数-每页数据量,最大10
<<<
success
{
"code": 200,
"msg": "ok",
"data": {
"list": [{
"order_number": "2019122613401578977136157855B",
"title": "塑料:2吨|办公设备:30吨|电缆:20吨|",
"imgurl": "/dist/uploads/20191226/85a64a0b11513b4da1e705cee57d3eb2.png,/dist/uploads/20191226/59bb5680d3b758250cd9d54b2e665534.png,/dist/uploads/20191226/5d7e4e507972282876e250db67c6dd74.png",
"ctime": 1577338815,
"local_province": "陕西省",
"local_city": "宝鸡市",
"local_county": "渭滨区",
"local_address": "桥南街道渭滨区互联网产业园(滨河南路)",
"order_status": 0,
"category": "生活废品-塑料,企业废品-办公设备,工业废品-电缆",
"distance": 11574797.489583699,
"usernum_join": 0,
"usernum_bid": 0,
"max_price": 0
}],
"total": 1
}
}
<<<
error
~~~
## 返回数据字段说明
| 字段 | 说明 |
| --- | --- |
|order_number|订单编号|
| title | 标题 |
|imgurl |图片 |
|ctime | 创建时间,时间戳格式,精确到秒 |
| local_province | |
| local_city | |
| local_county | |
| local_address | |
| distance | 距离 |
| order_number | |
| usernum_join |接单人数 |
| usernum_bid | 出价人数 |
| max_price |最高出价 |