轻松教育API

轻松教育API


角色权限设置查询(李)

<p><strong>简要描述:</strong> </p> <ul> <li>角色权限设置查询接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/education/limit_queryroleset.html</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </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;">roleid</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> { "errcode": 0, "errcode": "查询成功", "data": [{ "firstnodeid": "11", "nodeid": "1", "nodename": "公文流转", "url": "", "priviligecode": "op_all", "childAry": [ { "firstnodeid": "11", "nodeid": "23233", "nodename": "局内文件流转", "url": "/detail", "priviligecode": "op_null" } ] }] }</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> <tr> <td style="text-align: left;">xxxx</td> <td style="text-align: left;">int</td> <td>节点ID值 做key</td> </tr> <tr> <td style="text-align: left;">priviligecode</td> <td style="text-align: left;">string</td> <td>op_all-全部权限,op_search-只读权限,op_part-部分权限,op_null-无权限</td> </tr> </tbody> </table> <p><strong>备注</strong> <strong> data 无对应节点属性时 ,默认给只读权限</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML