角色列表查询
<p><strong>简要描述:</strong> </p>
<ul>
<li>角色列表查询</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://127.0.0.1:8080/api/sysRole/getAllRoleList</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </li>
</ul>
<p><strong>参数:</strong> </p>
<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>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;成功&quot;,
&quot;data&quot;: [
{
&quot;roleId&quot;: 1,-----------------角色Id
&quot;roleName&quot;: &quot;一级角色-1&quot;,----------------角色名称
&quot;pid&quot;: 0,---------------父级角色id (一级角色默认是0)
&quot;childList&quot;: [-----------子集角色集合
{
&quot;roleId&quot;: 3,
&quot;roleName&quot;: &quot;二级级角色-1&quot;,
&quot;remark&quot;: &quot;juese&quot;,
&quot;pid&quot;: 1,
&quot;childList&quot;: [
{
&quot;roleId&quot;: 5,
&quot;roleName&quot;: &quot;三级级角色-1&quot;,
&quot;remark&quot;: &quot;juese&quot;,
&quot;pid&quot;: 3,
&quot;childList&quot;: [
{
&quot;roleId&quot;: 6,
&quot;roleName&quot;: &quot;四级级角色-1&quot;,
&quot;remark&quot;: &quot;juese&quot;,
&quot;pid&quot;: 5
}
]
}
]
}
]
}
]
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>