简要描述:
- 订单配送方式为司机配送时调用
请求URL:
GET/&route=plugin.supplier.frontend.delivery-info.get-driver-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
i | 是 | int | 公众号id |
返回示例:
正确时返回:
{
result: 1,
msg: "成功",
data: [
{
id: 1,
uniacid: 6,
user_phone: "15012345678",
driver_name: "213",
license_number: "123",
created_at: "2018-08-13 11:33:45",
updated_at: "2018-08-14 19:51:14"
},
{
id: 2,
uniacid: 6,
user_phone: "15012345677",
driver_name: "",
license_number: "",
created_at: "2018-08-13 14:32:18",
updated_at: "2018-08-13 14:32:18"
},
{
id: 3,
uniacid: 6,
user_phone: "15012345678",
driver_name: "213",
license_number: "123",
created_at: "2018-08-13 11:33:45",
updated_at: "2018-08-14 19:51:14"
}
]
}
错误时返回:
{
result: 0,
msg: "司机配送插件未启用",
data: {
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 司机id |
user_phone | string | 司机手机号 |
license_number | int | 车牌号 |
备注:
- 更多返回错误代码请看首页的错误代码描述