6. 登录权限返回接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>登录权限返回接口</li>
</ul>
<h5>接口维护负责人:陈谦</h5>
<h5>请求URL</h5>
<ul>
<li><code>http://172.17.10.52:8080/pyapi/login_jurisdiction</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">ID</td>
<td style="text-align: left;">nvarhar</td>
<td style="text-align: left;">用户登录ID</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;LoginID&quot;:&quot;4649859110307627009&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: {
&quot;jurisdiction&quot;: [
{
&quot;ID&quot;: &quot;4649474776073502721&quot;,
&quot;children&quot;: [],
&quot;component&quot;: &quot;@/views/home&quot;,
&quot;meta&quot;: {
&quot;image&quot;: &quot;http://172.17.10.52:8081/img/icon-RT.png&quot;,
&quot;image1&quot;: &quot;http://172.17.10.52:8081/img/icon-RT1.png&quot;,
&quot;title&quot;: &quot;实时看板&quot;
},
&quot;name&quot;: &quot;home&quot;,
&quot;path&quot;: &quot;/&quot;
},
{
&quot;ID&quot;: &quot;4649475806735630337&quot;,
&quot;children&quot;: [
{
&quot;ID&quot;: &quot;4746664747473043457&quot;,
&quot;component&quot;: &quot;@/views/task/center/index&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;产品信息&quot;
},
&quot;name&quot;: &quot;ProductInformation&quot;,
&quot;path&quot;: &quot;/task/index&quot;
},
{
&quot;ID&quot;: &quot;4746668606853480449&quot;,
&quot;component&quot;: &quot;@/views/task/config/index&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;产品参数&quot;
},
&quot;name&quot;: &quot;ProductParameter&quot;,
&quot;path&quot;: &quot;/task/config&quot;
},
{
&quot;ID&quot;: &quot;4746669237236400129&quot;,
&quot;component&quot;: &quot;@/views/task/codeRule/index&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;条码规则&quot;
},
&quot;name&quot;: &quot;CodeRule&quot;,
&quot;path&quot;: &quot;/task/codeRule&quot;
}
],
&quot;component&quot;: &quot;@/views/task/center&quot;,
&quot;meta&quot;: {
&quot;image&quot;: &quot;http://172.17.10.52:8081/img/icon-task.png&quot;,
&quot;image1&quot;: &quot;http://172.17.10.52:8081/img/icon-task1.png&quot;,
&quot;title&quot;: &quot;产品管理&quot;
},
&quot;name&quot;: &quot;task&quot;,
&quot;path&quot;: &quot;/task&quot;
},
{
&quot;ID&quot;: &quot;4649555114250469377&quot;,
&quot;children&quot;: [
{
&quot;ID&quot;: &quot;4649557688043175937&quot;,
&quot;component&quot;: &quot;@/views/dataManage/modelAdd&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;模型信息&quot;
},
&quot;name&quot;: &quot;modelAdd&quot;,
&quot;path&quot;: &quot;/dataManage/modelAdd&quot;
},
{
&quot;ID&quot;: &quot;4649560407747330049&quot;,
&quot;component&quot;: &quot;@/views/dataManage/modelManage&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;模型训练&quot;
},
&quot;name&quot;: &quot;modelManage&quot;,
&quot;path&quot;: &quot;/dataManage/modelManage&quot;
},
{
&quot;ID&quot;: &quot;4649572529772429313&quot;,
&quot;component&quot;: &quot;@/views/dataManage/samplingPlan&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;模型审核&quot;
},
&quot;name&quot;: &quot;samplingPlan&quot;,
&quot;path&quot;: &quot;/dataManage/samplingPlan&quot;
}
],
&quot;component&quot;: &quot;SecondLevelRoutes&quot;,
&quot;meta&quot;: {
&quot;image&quot;: &quot;http://172.17.10.52:8081/img/icon-temp.png&quot;,
&quot;image1&quot;: &quot;http://172.17.10.52:8081/img/icon-temp1.png&quot;,
&quot;title&quot;: &quot;模型管理&quot;
},
&quot;name&quot;: &quot;dataManage&quot;,
&quot;path&quot;: &quot;/dataManage&quot;
},
{
&quot;ID&quot;: &quot;4649562784932036609&quot;,
&quot;children&quot;: [
{
&quot;ID&quot;: &quot;4649563520793313281&quot;,
&quot;component&quot;: &quot;@/views/report/forecast&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;电芯数据&quot;
},
&quot;name&quot;: &quot;Forecast&quot;,
&quot;path&quot;: &quot;/report/forecast&quot;
},
{
&quot;ID&quot;: &quot;4649573690118242305&quot;,
&quot;component&quot;: &quot;@/views/report/AQL&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;AQL抽检&quot;
},
&quot;name&quot;: &quot;AQL&quot;,
&quot;path&quot;: &quot;/report/AQL&quot;
},
{
&quot;ID&quot;: &quot;4649574984191049729&quot;,
&quot;component&quot;: &quot;@/views/report/product&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;生产统计&quot;
},
&quot;name&quot;: &quot;Product&quot;,
&quot;path&quot;: &quot;/report/product&quot;
}
],
&quot;component&quot;: &quot;SecondLevelRoutes&quot;,
&quot;meta&quot;: {
&quot;image&quot;: &quot;http://172.17.10.52:8081/img/icon-data.png&quot;,
&quot;image1&quot;: &quot;http://172.17.10.52:8081/img/icon-data1.png&quot;,
&quot;title&quot;: &quot;报表中心&quot;
},
&quot;name&quot;: &quot;report&quot;,
&quot;path&quot;: &quot;/report&quot;
},
{
&quot;ID&quot;: &quot;4649575906107457537&quot;,
&quot;children&quot;: [
{
&quot;ID&quot;: &quot;4649480333413056513&quot;,
&quot;component&quot;: &quot;@/views/setting/user&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;用户管理&quot;
},
&quot;name&quot;: &quot;user&quot;,
&quot;path&quot;: &quot;/setting/user&quot;
},
{
&quot;ID&quot;: &quot;4649576933405753345&quot;,
&quot;component&quot;: &quot;@/views/setting/role&quot;,
&quot;meta&quot;: {
&quot;title&quot;: &quot;角色管理&quot;
},
&quot;name&quot;: &quot;role&quot;,
&quot;path&quot;: &quot;/setting/role&quot;
}
],
&quot;component&quot;: &quot;SecondLevelRoutes&quot;,
&quot;meta&quot;: {
&quot;image&quot;: &quot;http://172.17.10.52:8081/img/icon-set.png&quot;,
&quot;image1&quot;: &quot;http://172.17.10.52:8081/img/icon-set1.png&quot;,
&quot;title&quot;: &quot;系统设置&quot;
},
&quot;name&quot;: &quot;setting&quot;,
&quot;path&quot;: &quot;/setting&quot;
}
]
},
&quot;msg&quot;: &quot;success&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;">nvarchar</td>
<td>菜单权限ID</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">nvarchar</td>
<td>组件名</td>
</tr>
<tr>
<td style="text-align: left;">path</td>
<td style="text-align: left;">nvarchar</td>
<td>路由地址</td>
</tr>
<tr>
<td style="text-align: left;">meta</td>
<td style="text-align: left;">object</td>
<td>元信息(image;image1;title;)</td>
</tr>
<tr>
<td style="text-align: left;">component</td>
<td style="text-align: left;">bigint</td>
<td>组件名</td>
</tr>
<tr>
<td style="text-align: left;">children</td>
<td style="text-align: left;">datetime</td>
<td>子组件</td>
</tr>
</tbody>
</table>
<h5>备注</h5>