9.用户管理-角色对应权限
<p>[TOC]</p>
<h5>接口维护人</h5>
<ul>
<li>周智鸿</li>
</ul>
<h5>简要描述</h5>
<ul>
<li>用户管理-角色对应权限</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://172.17.10.52:8080/pyapi/jurisdiction</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>请求参数</h5>
<p>无</p>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"data": [
{
"jurisdiction": [
"4649474776073502721",
"4649475806735630337",
"4649480333413056513",
"4649555114250469377",
"4649557688043175937",
"4649560407747330049",
"4649562784932036609",
"4649563520793313281",
"4649572529772429313",
"4649573690118242305",
"4649574984191049729",
"4649575906107457537",
"4649576933405753345",
"4649848446021271553"
],
"role": "admin",
"roleid": "4646921484147621889"
},
{
"jurisdiction": [
"4649475806735630337",
"4649555114250469377",
"4649557688043175937",
"4649560407747330049",
"4649572529772429313"
],
"role": "管理员",
"roleid": "4646927053256392705"
},
{
"jurisdiction": [
"4649474776073502721",
"4649562784932036609",
"4649563520793313281",
"4649573690118242305",
"4649574984191049729"
],
"role": "操作员",
"roleid": "4646927362485649409"
},
{
"jurisdiction": [
"4649563520793313281"
],
"role": "游客",
"roleid": "4651661583187968001"
},
{
"jurisdiction": [],
"role": "闲人",
"roleid": "4652395549998186497"
},
{
"jurisdiction": [],
"role": "闲人123",
"roleid": "4652396763687157761"
}
],
"msg": "success"
}</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;">jurisdiction</td>
<td style="text-align: left;">nvarchar</td>
<td>角色拥有的权限ID</td>
</tr>
<tr>
<td style="text-align: left;">role</td>
<td style="text-align: left;">nvarchar</td>
<td>角色名称</td>
</tr>
</tbody>
</table>