线路与列车
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>线路与列车接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.0.60:8080/system/role/lineTrainRoleTree/{roleId}</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>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">roleId</td>
<td style="text-align: left;">Long</td>
<td>权限id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;code&quot;: 200,
&quot;menus&quot;: [
{
&quot;id&quot;: &quot;l_1&quot;,
&quot;label&quot;: &quot;1号线&quot;
},
{
&quot;id&quot;: &quot;l_2&quot;,
&quot;label&quot;: &quot;2号线&quot;
},
{
&quot;id&quot;: &quot;l_3&quot;,
&quot;label&quot;: &quot;4号线大兴线&quot;,
&quot;children&quot;: [
{
&quot;id&quot;: &quot;t_17&quot;,
&quot;label&quot;: &quot;阿萨大大手上防守打法&quot;
},
{
&quot;id&quot;: &quot;t_18&quot;,
&quot;label&quot;: &quot;阿萨大大&quot;
},
{
&quot;id&quot;: &quot;t_14&quot;,
&quot;label&quot;: &quot;3豪车&quot;
},
{
&quot;id&quot;: &quot;t_16&quot;,
&quot;label&quot;: &quot;请问&quot;
},
{
&quot;id&quot;: &quot;t_20&quot;,
&quot;label&quot;: &quot;阿达撒大声地&quot;
},
{
&quot;id&quot;: &quot;t_21&quot;,
&quot;label&quot;: &quot;阿达阿达是的&quot;
},
{
&quot;id&quot;: &quot;t_15&quot;,
&quot;label&quot;: &quot;5号车&quot;
},
{
&quot;id&quot;: &quot;t_13&quot;,
&quot;label&quot;: &quot;1号线2&quot;
},
{
&quot;id&quot;: &quot;t_19&quot;,
&quot;label&quot;: &quot;阿萨大大大叔大婶&quot;
}
]
},
{
&quot;id&quot;: &quot;l_4&quot;,
&quot;label&quot;: &quot;5号线&quot;
},
{
&quot;id&quot;: &quot;l_5&quot;,
&quot;label&quot;: &quot;6号线&quot;
},
{
&quot;id&quot;: &quot;l_6&quot;,
&quot;label&quot;: &quot;7号线&quot;
},
{
&quot;id&quot;: &quot;l_7&quot;,
&quot;label&quot;: &quot;8号线(北)&quot;
},
{
&quot;id&quot;: &quot;l_8&quot;,
&quot;label&quot;: &quot;8号线(南)&quot;
},
{
&quot;id&quot;: &quot;l_9&quot;,
&quot;label&quot;: &quot;9号线&quot;
},
{
&quot;id&quot;: &quot;l_10&quot;,
&quot;label&quot;: &quot;10号线&quot;
},
{
&quot;id&quot;: &quot;l_11&quot;,
&quot;label&quot;: &quot;新机场线&quot;
},
{
&quot;id&quot;: &quot;l_12&quot;,
&quot;label&quot;: &quot;13号线&quot;,
&quot;children&quot;: [
{
&quot;id&quot;: &quot;t_3&quot;,
&quot;label&quot;: &quot;1号车&quot;
},
{
&quot;id&quot;: &quot;t_2&quot;,
&quot;label&quot;: &quot;1号车&quot;
}
]
},
{
&quot;id&quot;: &quot;l_13&quot;,
&quot;label&quot;: &quot;14号线(西)&quot;
},
{
&quot;id&quot;: &quot;l_14&quot;,
&quot;label&quot;: &quot;14号线(东)&quot;
},
{
&quot;id&quot;: &quot;l_15&quot;,
&quot;label&quot;: &quot;15号线&quot;
},
{
&quot;id&quot;: &quot;l_16&quot;,
&quot;label&quot;: &quot;16号线&quot;
},
{
&quot;id&quot;: &quot;l_17&quot;,
&quot;label&quot;: &quot;八通线&quot;
},
{
&quot;id&quot;: &quot;l_18&quot;,
&quot;label&quot;: &quot;昌平线&quot;
},
{
&quot;id&quot;: &quot;l_19&quot;,
&quot;label&quot;: &quot;亦庄线&quot;
},
{
&quot;id&quot;: &quot;l_20&quot;,
&quot;label&quot;: &quot;房山线&quot;
},
{
&quot;id&quot;: &quot;l_21&quot;,
&quot;label&quot;: &quot;s1线&quot;
},
{
&quot;id&quot;: &quot;l_22&quot;,
&quot;label&quot;: &quot;燕房线&quot;
},
{
&quot;id&quot;: &quot;l_23&quot;,
&quot;label&quot;: &quot;西郊线&quot;
},
{
&quot;id&quot;: &quot;l_24&quot;,
&quot;label&quot;: &quot;机场线&quot;
}
],
&quot;checkedKeys&quot;: [
&quot;l_13&quot;,
&quot;l_14&quot;,
&quot;l_12&quot;,
&quot;t_1&quot;,
&quot;t_2&quot;,
&quot;t_3&quot;,
&quot;t_4&quot;
]
}</code></pre>
<h5>返回参数说明</h5>
<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;">string</td>
<td>节点id l代表线路,t代表列车</td>
</tr>
<tr>
<td style="text-align: left;">label</td>
<td style="text-align: left;">string</td>
<td>节点名称</td>
</tr>
<tr>
<td style="text-align: left;">checkedKeys</td>
<td style="text-align: left;">已经选择的节点</td>
</tr>
</tbody>
</table>