通过lineId查询首末班车
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>通过lineId查询首末班车接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.0.60:8080/base/metro/list?lineId=3</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>请求参数说明</h5>
<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;">lineId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">integer</td>
<td>线路id</td>
</tr>
</tbody>
</table>
<h5>请求参数</h5>
<pre><code> {
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: null,
&quot;lineId&quot;: 3,
&quot;stationId&quot;: null,
&quot;lineType&quot;: null,
&quot;heading&quot;: null,
&quot;startTime&quot;: null,
&quot;endTime&quot;: null,
&quot;lineName&quot;: null,
&quot;stationName&quot;: null
}</code></pre>
<h5>返回示例</h5>
<pre><code> {
&quot;total&quot;: 1,
&quot;rows&quot;: [
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: &quot;2023-03-20 10:34:22&quot;,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 1,
&quot;lineId&quot;: 3,
&quot;stationId&quot;: 70,
&quot;lineType&quot;: &quot;0&quot;,
&quot;heading&quot;: 0,
&quot;startTime&quot;: &quot;2023-03-07 00:00:00&quot;,
&quot;endTime&quot;: &quot;2023-03-08 00:00:00&quot;,
&quot;lineName&quot;: &quot;4号线大兴线&quot;,
&quot;stationName&quot;: &quot;安河桥北&quot;
}
],
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;查询成功&quot;
}</code></pre>
<h5>返回参数说明</h5>
<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;">lineName</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>线路名称</td>
</tr>
<tr>
<td style="text-align: left;">stationName</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>车站名称</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>