叁玖-saas


推送-获取司机抢单列表

[TOC]

简要描述
  • 推送-获取司机抢单列表
请求URL
  • /web/getGrabList
请求方式
  • POST
参数
参数名 必选 类型 说明
company_id int 物流id
order_id int 订单id
start_lnt string 装货经度
start_lat string 装货维度
返回示例
{
    "code": 200,
    "msg": "",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 4,
                "order_id": 6,
                "company_id": 1,
                "correlation_id": 21,
                "push_id": 11,
                "type": 1,
                "created_at": "1970-01-01 08:00:00",
                "get_correlation": {
                    "id": 21,
                    "name": "测试北京丁许峰",
                    "type": 1,
                    "get_address": "河北省廊坊市",
                    "lnt": "117.257080078125",
                    "lat": "38.976492485539396",
                    "is_operation": 1,
                    "with_car": [
                        {
                            "plate_num": "京L",
                            "get_car_len": 3,
                            "get_car_type": 3,
                            "get_car_num": "3轴",
                            "pivot": {
                                "u_id": 21,
                                "car_id": 25,
                                "is_default": 0,
                                "per_car_pic": "",
                                "per_car_status": 1,
                                "fail_content": null
                            },
                            "get_car_len_type": "7.6米厢式车"
                        }
                    ]
                },
                "gap": "108.8km",
                "relation_type": "啊啊啊啊",
                "collaborate_num": 4
            }
        ],
        "first_page_url": "http://192.168.2.58:8081/web/getGrabList?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://192.168.2.58:8081/web/getGrabList?page=1",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "http://192.168.2.58:8081/web/getGrabList?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://192.168.2.58:8081/web/getGrabList",
        "per_page": 10,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}
返回参数说明
参数名 类型 说明
code int 除了200 其他均为报错
phone_num string 运力手机号
type int 运力类型 1 司机 2 承运商
get_address int 司机位置
is_operation int 司机运营状态 1 空闲中 2 运输中
name int 运力名称
gap int 距离装货地
relation_type int 运力类型
collaborate_num int 合作次数
created_at int 抢单时间
plate_num int 车牌号
get_car_len_type int 车型车长
get_car_num int 车轴数
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML