简要描述:
- 同城配送-物流信息
请求域名:
- http://xx.com
请求URL:
route=plugin.city-delivery.frontend.order.getDeliveryMessage
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
order_id | 是 | int | 订单id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"is_another": 0,
"another_order": {
"id": 3,
"another_order_sn": "3443639720299614721",
"delivery_type": 2,
"rider_receive_time": 1642386473,
"rider_arrive_time": 1642386473,
"rider_delivery_time": 1642386473,
"rider_finish_time": 1642386473,
"callback_data": [
{
"sf_order_id": "3443639720299614721",
"shop_order_id": "SN20201224143219h51642055378",
"operator": "",
"operator_name": "",
"operator_phone": "",
"order_status": 1,
"status_desc": "创建订单成功",
"content": "创建订单成功",
"push_time": "2022-01-13 14:29:36",
"create_time": "2022-01-13 14:29:36"
},
{
"sf_order_id": "3443639720299614721",
"shop_order_id": "SN20201224143219h51642055378",
"operator": "李建波",
"operator_name": "李建波",
"operator_phone": "18615501228",
"order_status": 10,
"status_desc": "订单指派成功",
"content": "订单指派成功 操作人:李建波 联系电话:18615501228",
"push_time": "2022-01-13 14:29:44",
"create_time": "2022-01-13 14:29:44"
},
{
"sf_order_id": "3443639720299614721",
"shop_order_id": "SN20201224143219h51642055378",
"operator": "李建波",
"operator_name": "李建波",
"operator_phone": "18615501228",
"order_status": 10,
"status_desc": "骑士接单",
"content": "骑士接单 操作人:李建波 联系电话:18615501228",
"push_time": "2022-01-13 14:29:44",
"create_time": "2022-01-13 14:29:44"
},
{
"sf_order_id": "3443639720299614721",
"shop_order_id": "SN20201224143219h51642055378",
"operator": "李建波",
"operator_name": "李建波",
"operator_phone": "18615501228",
"order_status": 1,
"status_desc": "撤回订单",
"content": "撤回订单 操作人:李建波 联系电话:18615501228",
"push_time": "2022-01-13 14:29:49",
"create_time": "2022-01-13 14:29:49"
},
{
"sf_order_id": "3443639720299614721",
"shop_order_id": "SN20201224143219h51642055378",
"operator": "李建波",
"operator_name": "李建波",
"operator_phone": "18615501228",
"order_status": 10,
"status_desc": "订单指派成功",
"content": "订单指派成功 操作人:李建波 联系电话:18615501228",
"push_time": "2022-01-13 14:33:18",
"create_time": "2022-01-13 14:33:18"
},
{
"sf_order_id": "3443639720299614721",
"shop_order_id": "SN20201224143219h51642055378",
"operator": "李建波",
"operator_name": "李建波",
"operator_phone": "18615501228",
"order_status": 10,
"status_desc": "骑士接单",
"content": "骑士接单 操作人:李建波 联系电话:18615501228",
"push_time": "2022-01-13 14:33:18",
"create_time": "2022-01-13 14:33:18"
},
{
"sf_order_id": "3443639720299614721",
"shop_order_id": "SN20201224143219h51642055378",
"operator": "李建波",
"operator_name": "李建波",
"operator_phone": "18615501228",
"order_status": 12,
"status_desc": "骑士已到店,取货中",
"content": "骑士已到店,取货中 操作人:李建波 联系电话:18615501228",
"push_time": "2022-01-13 14:45:16",
"create_time": "2022-01-13 14:45:16"
},
{
"sf_order_id": "3443639720299614721",
"shop_order_id": "SN20201224143219h51642055378",
"operator": "李建波",
"operator_name": "李建波",
"operator_phone": "18615501228",
"order_status": 15,
"status_desc": "骑士取货成功,配送中",
"content": "骑士取货成功,配送中 操作人:李建波 联系电话:18615501228",
"push_time": "2022-01-13 14:45:35",
"create_time": "2022-01-13 14:45:35"
},
{
"sf_order_id": "3443639720299614721",
"shop_order_id": "SN20201224143219h51642055378",
"operator": "loc_system",
"operator_name": "loc_system",
"operator_phone": "",
"order_status": 2,
"status_desc": "取消订单",
"content": "取消订单 操作人:loc_system 联系电话:",
"push_time": "2022-01-16 15:11:33",
"create_time": "2022-01-16 15:11:33"
}
],
"rider_name": "李建波",
"rider_phone": "18615501228",
"rider_lat": "40.01466362847222",
"rider_lng": "116.35275526258681",
"updated_at": "2022-01-17 14:57:53"
}
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
data.is_another | int | 是否第三方配送 0否 1是 |
data.another_order | object | 第三方配送信息 |
data.another_order.rider_receive_time | int | 骑手接单时间,默认为null |
data.another_order.rider_arrive_time | int | 骑手到店时间,默认为null |
data.another_order.rider_delivery_time | int | 骑手配送时间,默认为null |
data.another_order.rider_finish_time | int | 骑手送达时间,默认为null |
data.another_order.callback_data | arr | 第三方状态流数据 |
data.another_order.rider_name | string | 骑手名 |
data.another_order.rider_phone | string | 骑手手机号 |
data.another_order.rider_lat | string | 骑手纬度 |
data.another_order.rider_lng | string | 骑手经度 |