风控后台


3.4新增角色

<p><strong>简要描述:</strong> </p> <ul> <li>3.4新增角色</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/admin/role/addRole</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST JSON</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> </tbody> </table> <pre><code>{ "roleName": "测试11", "roleDesc": "ceshi", "platformId": 1, "menuIdList": [ 1, 2, 3, 4 ] } </code></pre> <p><strong>返回示例</strong></p> <pre><code> { "msg": "success", "code": 0, "data": true }</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