测试权限接口
<h5>简要描述</h5>
<ul>
<li>测试权限接口,返回所有路由</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://8.134.120.26:8013/api/WxLive/Login</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>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>[
{
"Url": "/main/live",
"WXRoleId": "1,2,3",
"ModifiedColumns": [],
"Sort": 1,
"Id": 1,
"Icon": "el-icon-video-camera-solid",
"IgnoreReference": false,
"Type": 2,
"Name": "直播间",
"EnableLazyLoad": true
},
{
"Url": "",
"WXRoleId": "1,2",
"children": [
{
"Url": "/main/commodity/no-warehousing",
"ModifiedColumns": [],
"Sort": 100,
"Id": 21,
"IgnoreReference": false,
"Type": 2,
"ParentId": 2,
"Name": "未入库",
"EnableLazyLoad": true
},
{
"Url": "/main/commodity/warehousing",
"ModifiedColumns": [],
"Sort": 100,
"Id": 22,
"IgnoreReference": false,
"Type": 2,
"ParentId": 2,
"Name": "已入库",
"EnableLazyLoad": true
}
],
"ModifiedColumns": [],
"Sort": 1,
"Id": 2,
"Icon": "el-icon-s-shop",
"IgnoreReference": false,
"Type": 1,
"Name": "商品库",
"EnableLazyLoad": true
},
{
"Url": "/main/live-member",
"WXRoleId": "1,2",
"ModifiedColumns": [],
"Sort": 1,
"Id": 3,
"Icon": "el-icon-s-custom",
"IgnoreReference": false,
"Type": 2,
"Name": "直播成员",
"EnableLazyLoad": true
}
]</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>