派车列表
<p><strong>简要描述:</strong> </p>
<p>-派车列表</p>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/mall/mall-task/task-list</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">is_app</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>1传值</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>页</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>数</td>
</tr>
<tr>
<td style="text-align: left;">number</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>车牌号</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>任务名称</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>1 未登记 2 已登记 3已完成 ep: 1,2,3</td>
</tr>
<tr>
<td style="text-align: left;">over_start</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>发车时间</td>
</tr>
<tr>
<td style="text-align: left;">over_end</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>还车时间</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"total": "1",
"list": [
{
"id": "103",
"name": "测试任务",
"use_start": "1637215844",
"use_end": "1636705709",
"over_start": "0",
"over_end": "0",
"use_before": "0",
"use_after": "0",
"water_before": "0",
"water_after": "0",
"use_remark": "",
"before_remark": "",
"after_remark": "",
"before_money": "0.00",
"after_money": "0.00",
"delivery_id": "1",
"car_id": "23",
"remark": "侧喝死额his混个士官",
"created_at": "1637215844",
"created_id": "1",
"created_org_id": "1",
"updated_at": "1637215844",
"updated_id": "1",
"updated_org_id": "1",
"deleted": "0",
"status": "1",
"car_type": "5",
"carmodel": "ZXZX123131",
"number": "210802",
"purpose": "1",
"created_at_txt": "2021-11-18 14:10:44",
"purpose_name": "配送车辆",
"car_type_name": "测试",
"use_start_txt": "2021-11-18 14:10:44",
"use_end_txt": "2021-11-12 16:28:29",
"use_time": "2021-11-18 14:10:44-2021-11-12 16:28:29",
"over_start_txt": "",
"over_end_txt": "",
"over_time": "-",
"over_hour": "",
"status_txt": "未登记"
}
]
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">int</td>
<td>任务ID</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">string</td>
<td>任务</td>
</tr>
<tr>
<td style="text-align: left;">status_txt</td>
<td style="text-align: left;">string</td>
<td>状态</td>
</tr>
<tr>
<td style="text-align: left;">number</td>
<td style="text-align: left;">string</td>
<td>车牌号</td>
</tr>
<tr>
<td style="text-align: left;">over_time</td>
<td style="text-align: left;">string</td>
<td>使用时间</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">string</td>
<td>备注</td>
</tr>
<tr>
<td style="text-align: left;">is_location</td>
<td style="text-align: left;">int</td>
<td>0 无轨迹 1有轨迹</td>
</tr>
<tr>
<td style="text-align: left;">location</td>
<td style="text-align: left;">string</td>
<td>坐标集合 ;分割经纬度为一组</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>