风控后台


3.3查询角色所拥有的权限

<p><strong>简要描述:</strong> </p> <ul> <li>3.3查询角色所拥有的权限</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/admin/role/getRoleMenuInfo/{id}</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;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>角色id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { "msg": "success", "code": 0, "data": { "roleId": 1, "roleName": "admin", "roleCode": null, "roleDesc": "超级管理员", "createTime": "2017-10-29 07:45:51", "updateTime": "2018-04-22 03:40:29", "delFlag": "0", "platformId": 0, "menuIdList": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21, 22, 23, 24, 31, 32, 33, 34, 41, 42, 43, 44, 45, 51, 52, 61, 62, 63, 64, 71, 72, 73, 74, 100, 101, 102, 103, 104, 110, 111, 112, 113, 114 ] } }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML