资源一体化-用户端

资源一体化-用户端


添加角色并且保存权限

<h4>添加角色并且保存权限</h4> <pre><code>url: /managerRole/addManagerRole 请求方式: POST 说明: 需登录 添加角色并且保存权限</code></pre> <p>入参参数说明:</p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> <th>是否必传</th> <th>传参方式</th> </tr> </thead> <tbody> <tr> <td>roleName</td> <td>String</td> <td>角色名</td> <td>是</td> <td>body参数</td> </tr> <tr> <td>description</td> <td>String</td> <td>角色描述</td> <td>是</td> <td>body参数</td> </tr> <tr> <td>resIds</td> <td>String</td> <td>选中的资源id串,逗号隔开</td> <td>是</td> <td>路径参数</td> </tr> </tbody> </table> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>String</td> <td>状态值</td> </tr> <tr> <td>msg</td> <td>String</td> <td>返回消息</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": "0000", "msg":"succcess", "data": null }</code></pre>

页面列表

ITEM_HTML