叁玖-saas


司机列表

简要描述:

  • 获取司机列表

请求URL:

  • pro /web/getDriverList

请求方式:

  • post

备注

  • 所有的 下拉框的 全部值 是all 参数:
参数名 必选 类型 说明
id int 物流公司id
name string 司机名字
phone_num string 司机手机号
status string 资质认证状态 总状态 所有证件信息全部通过后 才能算通过 1 待认证(例如导入的数据)2 审核中(与OCR识别不符)3 已认证(所有的审核通过)4 认证失败(有一处审核没有通过)5 即将过期(所有的证件满足一个 就是即将过期 30天内)6 已过期
net_goods_id_status string 网货身份认证状态 1-审核中 2-认证失败 3-已过期 4-快过期 5-已认证
plate_num string 车牌号
car_len string 车长
car_type string 车型
s_e_time string 创建时间 区间(待定) 例:2020-01-01 00:00:00--2050-01-01 23:59:59
relation_type string 司机类型
is_black string 黑名单状态
is_relationship 是否同意建立关系好友 1 同意 0 不同意 2 待操作

返回示例

{
    "code": 200,
    "msg": "",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "is_black": 0,
                "relation_type": 5,
                "carrier_driver_id": 21,
                "created_at": "2022-06-13 12:07:00",
                "get_correlation": {
                    "id": 21,
                    "phone_num": "18521596398",
                    "status": 2,
                    "name": "测试北京丁许峰",
                    "with_car": [
                        {
                            "plate_num": "京L",
                            "pivot": {
                                "u_id": 21,
                                "car_id": 25,
                                "is_default": 1,
                                "per_car_pic": "",
                                "per_car_status": 1,
                                "fail_content": null
                            }
                        }
                    ],
                    "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
                    }
                }
            },
            {
                "id": 25,
                "is_black": 1,
                "relation_type": 1,
                "carrier_driver_id": 56,
                "created_at": "2022-06-14 21:03:59",
                "get_correlation": {
                    "id": 56,
                    "phone_num": "15733663852",
                    "status": 0,
                    "name": "6346司机",
                    "with_car": [
                        {
                            "plate_num": "京A",
                            "pivot": {
                                "u_id": 56,
                                "car_id": 29,
                                "is_default": 1,
                                "per_car_pic": "",
                                "per_car_status": 1,
                                "fail_content": null
                            }
                        }
                    ],
                    "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
                    }
                }
            }
        ],
        "first_page_url": "http://192.168.2.58:8081/web/getDriverList?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://192.168.2.58:8081/web/getDriverList?page=1",
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "http://192.168.2.58:8081/web/getDriverList?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://192.168.2.58:8081/web/getDriverList",
        "per_page": 10,
        "prev_page_url": null,
        "to": 2,
        "total": 2
    }
}

返回参数说明

参数名 类型 说明
code int 状态码 200-正常 非200都是异常
msg string 提示消息
data array 返回数据
type int 运力类型
is_black int 司机黑名单状态
relation_type string 司机类型
created_id 添加人
updated_id 修改人
created_at 添加时间
updated_at 修改时间
driver object 司机个人信息
driver.name 司机名字
driver.phone_num 司机手机号
driver.status 司机资质认证状态
driver.driving_type 准驾车型
driver.plate_num 车牌号

备注

  • 更多返回错误代码请看首页的错误代码描述.

页面列表

ITEM_HTML