叁玖-saas


推送-获取司机列表

[TOC]

简要描述
  • 推送-获取司机列表
请求URL
  • /web/get_driver_list
请求方式
  • POST
参数
参数名 必选 类型 说明
company_id int 物流id
start_lnt string 装货经度
start_lat string 装货维度
type string driver 我的司机 contractCar 合同车 自有车
name 司机姓名
phone_num 司机手机号
plate_num 车牌号
relation_type 司机类型
返回示例
{
    "code": 200,
    "msg": "",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "type": 1,
                "relation_type": "啊啊啊啊",
                "carrier_driver_id": 21,
                "get_correlation": {
                    "id": 21,
                    "phone_num": "18521596398",
                    "status": 2,
                    "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": 2,
                            "driver_load_status": 0,
                            "pivot": {
                                "u_id": 21,
                                "car_id": 25,
                                "is_default": 1,
                                "per_car_pic": "",
                                "per_car_status": 1,
                                "fail_content": null
                            },
                            "get_car_len_type_zh": "7.6米厢式车",
                            "get_car_num_zh": "3轴"
                        }
                    ],
                    "driver": {
                        "id": 24,
                        "u_id": 21,
                        "driving_type": "123",
                        "driving_licence_pic": "",
                        "drive_expiry_date": null,
                        "net_goods_driving_status": 1,
                        "work_pic": "",
                        "drive_status": null,
                        "fail_content": null,
                        "status": 1,
                        "created_at": null,
                        "updated_at": "2022-06-28 15:33:00",
                        "created_id": null,
                        "updated_id": 0
                    },
                    "gap": "4029.4km",
                    "three_collaborate_total": 4,
                    "one_collaborate_total": {
                        "total": 4,
                        "total_price": "0.00",
                        "total_num": 5
                    },
                    "line_name": [
                        "路线名称222",
                        "11路线名称",
                        "11路线名称",
                        "11路线名称"
                    ]
                }
            },
            {
                "id": 25,
                "type": 1,
                "relation_type": "我的司机",
                "carrier_driver_id": 56,
                "get_correlation": {
                    "id": 56,
                    "phone_num": "15733663852",
                    "status": 0,
                    "name": "6346司机",
                    "type": 1,
                    "get_address": null,
                    "lnt": "0",
                    "lat": "0",
                    "is_operation": 1,
                    "with_car": [
                        {
                            "plate_num": "京A",
                            "get_car_len": 1,
                            "get_car_type": 2,
                            "get_car_num": 2,
                            "driver_load_status": 0,
                            "pivot": {
                                "u_id": 56,
                                "car_id": 29,
                                "is_default": 1,
                                "per_car_pic": "",
                                "per_car_status": 1,
                                "fail_content": null
                            },
                            "get_car_len_type_zh": "4.2米高栏车",
                            "get_car_num_zh": "3轴"
                        }
                    ],
                    "driver": {
                        "id": 26,
                        "u_id": 56,
                        "driving_type": "123",
                        "driving_licence_pic": "",
                        "drive_expiry_date": null,
                        "net_goods_driving_status": null,
                        "work_pic": null,
                        "drive_status": null,
                        "fail_content": null,
                        "status": 1,
                        "created_at": null,
                        "updated_at": "-0001-11-30 00:00:00",
                        "created_id": null,
                        "updated_id": null
                    },
                    "gap": "0km",
                    "three_collaborate_total": 0,
                    "one_collaborate_total": {
                        "total": 0,
                        "total_price": null,
                        "total_num": null
                    },
                    "line_name": []
                }
            }
        ],
        "first_page_url": "http://192.168.2.58:8081/web/get_driver_list?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://192.168.2.58:8081/web/get_driver_list?page=1",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "http://192.168.2.58:8081/web/get_driver_list?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://192.168.2.58:8081/web/get_driver_list",
        "per_page": 10,
        "prev_page_url": null,
        "to": 2,
        "total": 2
    }
}
返回参数说明
参数名 类型 说明
code int 除了200 其他均为报错
type int 运力类型 1 司机 2 承运商
relation_type 运力与承运商关联类型
driver object 司机信息
driver.get_address int 司机位置
driver.is_operation int 司机运营状态 1 空闲中 2 运输中
driver.name int 运力名称
driver.gap int 距离装货地
driver.phone_num int 运力手机号
driver.status int 司机状态 1 待认证(例如导入的数据)2 审核中(与OCR识别不符)3 已认证(所有的审核通过)4 认证失败(有一处审核没有通过)5 即将过期(所有的证件满足一个 就是即将过期 30天内)6 已过期
driver.three_collaborate_total int 三个月内合作次数
driver.one_collaborate_total object 一个月内合作情况
driver.one_collaborate_total.total 一个月内合作次数
driver.one_collaborate_total.total_price 一个月内合作总金额
driver.one_collaborate_total.total_num 一个月内合作总公里数
driver.line_name array 线路名称
driver.driving_type array 司机准假车型
driver.plate_num array 车牌号
driver.driver_load_status array 车辆认证状态 1 通过 0 未通过
driver.get_car_len_type_zh int 车型车长
get_car_num_zh int 车轴数
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML