车享宝


角色详情

<p><strong>简要描述:</strong> </p> <ul> <li>角色详情</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>sys/role/detail</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;">int</td> <td>角色id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": 200, "data": { "role": { "id": 4, "name": "管理员", "remark": "管理员", "createTime": "2020-10-15T06:19:08.000+0000", "lastUpdate": null, "flag": null }, "menu": [ { "id": 1, "parentmenu": 0, "name": "会员管理", "url": "aaa", "permissions": "aaa", "type": 1, "icon": "test", "flag": null, "childs": [] }, { "id": 2, "parentmenu": 1, "name": "会员列表", "url": "aaa", "permissions": "aaa", "type": 1, "icon": "test", "flag": null, "childs": [] } ] }, "message": "success" } </code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML