角色选项列表
<h5>简要描述</h5>
<ul>
<li>角色选项列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.1.79/api/user/role</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">字段名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">authorization</td>
<td style="text-align: left;"></td>
<td>否</td>
<td>string</td>
<td>access_token</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;list&quot;: [
{
&quot;id&quot;: 1,
&quot;name&quot;: &quot;运营&quot;
},
{
&quot;id&quot;: 3,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 4,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 5,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 6,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 7,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 8,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 9,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 10,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 13,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 14,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 15,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 16,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 17,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 18,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 19,
&quot;name&quot;: &quot;财务&quot;
},
{
&quot;id&quot;: 20,
&quot;name&quot;: &quot;小米的权限2&quot;
}
]
}
}
</code></pre>
<h5>备注</h5>
<p>备注信息</p>