逛逛

逛逛App


查询角色

<p><strong>简要描述:</strong> </p> <ul> <li>查询角色</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://192.168.3.243:86/admin/role</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> <tr> <td style="text-align: left;">role_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> </tr> </tbody> </table> <pre><code>{ "code": 0, "msg": "返回成功", "time": 1569574868, "data": { "role_id": 7,//角色id "role_name": "普通", //角色名 "role_info": "普通用户权限最低",//角色描述 "permissions": [ { "pr_id": 1, //权限id "pr_name": "测试" //权限名 } ] } }</code></pre>

页面列表

ITEM_HTML