乘客信息系统管理平台


通过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> {             &amp;quot;createBy&amp;quot;: null,             &amp;quot;createTime&amp;quot;: null,             &amp;quot;updateBy&amp;quot;: null,             &amp;quot;updateTime&amp;quot;: null,             &amp;quot;remark&amp;quot;: null,             &amp;quot;id&amp;quot;: null,             &amp;quot;lineId&amp;quot;: 3,             &amp;quot;stationId&amp;quot;: null,             &amp;quot;lineType&amp;quot;: null,             &amp;quot;heading&amp;quot;: null,             &amp;quot;startTime&amp;quot;: null,             &amp;quot;endTime&amp;quot;: null,             &amp;quot;lineName&amp;quot;: null,             &amp;quot;stationName&amp;quot;: null         }</code></pre> <h5>返回示例</h5> <pre><code> {     &amp;quot;total&amp;quot;: 1,     &amp;quot;rows&amp;quot;: [         {             &amp;quot;createBy&amp;quot;: null,             &amp;quot;createTime&amp;quot;: &amp;quot;2023-03-20 10:34:22&amp;quot;,             &amp;quot;updateBy&amp;quot;: null,             &amp;quot;updateTime&amp;quot;: null,             &amp;quot;remark&amp;quot;: null,             &amp;quot;id&amp;quot;: 1,             &amp;quot;lineId&amp;quot;: 3,             &amp;quot;stationId&amp;quot;: 70,             &amp;quot;lineType&amp;quot;: &amp;quot;0&amp;quot;,             &amp;quot;heading&amp;quot;: 0,             &amp;quot;startTime&amp;quot;: &amp;quot;2023-03-07 00:00:00&amp;quot;,             &amp;quot;endTime&amp;quot;: &amp;quot;2023-03-08 00:00:00&amp;quot;,             &amp;quot;lineName&amp;quot;: &amp;quot;4号线大兴线&amp;quot;,             &amp;quot;stationName&amp;quot;: &amp;quot;安河桥北&amp;quot;         }     ],     &amp;quot;code&amp;quot;: 200,     &amp;quot;msg&amp;quot;: &amp;quot;查询成功&amp;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>

页面列表

ITEM_HTML