开往方向及车站下拉
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>开往方向及车站下拉接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.0.60:8080/base/station/list?lineId=3&amp;isTerminal=1</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;">int</td>
<td>列车id</td>
</tr>
<tr>
<td style="text-align: left;">isTerminal</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>终点站 (0否 1是)</td>
</tr>
</tbody>
</table>
<p>查询车站就传lineID,查询开往方向参数为lineId与isTerminal</p>
<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;stationCode&quot;: null,
&quot;stationName&quot;: null,
&quot;stationEnglishName&quot;: null,
&quot;stationType&quot;: null,
&quot;orderNum&quot;: null,
&quot;runTimeBegin&quot;: null,
&quot;runTimeEnd&quot;: null,
&quot;isTerminal&quot;: 1
}</code></pre>
<h5>返回示例</h5>
<pre><code> {
&quot;total&quot;: 2,
&quot;rows&quot;: [
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 77,
&quot;lineId&quot;: 3,
&quot;stationCode&quot;: null,
&quot;stationName&quot;: &quot;人民大学&quot;,
&quot;stationEnglishName&quot;: null,
&quot;stationType&quot;: null,
&quot;orderNum&quot;: 8,
&quot;runTimeBegin&quot;: null,
&quot;runTimeEnd&quot;: null,
&quot;isTerminal&quot;: &quot;1&quot;
},
{
&quot;createBy&quot;: null,
&quot;createTime&quot;: null,
&quot;updateBy&quot;: null,
&quot;updateTime&quot;: null,
&quot;remark&quot;: null,
&quot;id&quot;: 78,
&quot;lineId&quot;: 3,
&quot;stationCode&quot;: null,
&quot;stationName&quot;: &quot;魏公村&quot;,
&quot;stationEnglishName&quot;: null,
&quot;stationType&quot;: null,
&quot;orderNum&quot;: 9,
&quot;runTimeBegin&quot;: null,
&quot;runTimeEnd&quot;: null,
&quot;isTerminal&quot;: &quot;1&quot;
}
],
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;查询成功&quot;
}</code></pre>