美滴滴新版后台在线接口文档

美滴滴新版后台在线接口文档


权限设置

<p><strong>简要描述:</strong> </p> <ul> <li>权限设置</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>Rbac/authorize</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> { 'roleid' =&gt; int 142 'categorys' =&gt; string '&lt;tr id='node-1' &gt; &lt;td style='padding-left:30px;'&gt;&lt;input type='checkbox' name='menuid[]' value='1' level='0' onclick='javascript:checknode(this);'&gt; 菜单管理&lt;/td&gt; &lt;/tr&gt;&lt;tr id='node-3' class="child-of-node-1"&gt; &lt;td style='padding-left:30px;'&gt; └─ &lt;input type='checkbox' name='menuid[]' value='3' level='1' onclick='javascript:checknode(this);'&gt; 菜单&lt;/td&gt; &lt;/tr&gt;&lt;tr id='node-2' class="child-of-node-3"&gt; '... (length=146954) }</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;">roleid</td> <td style="text-align: left;">int</td> <td>当前用户id</td> </tr> <tr> <td style="text-align: left;">categorys</td> <td style="text-align: left;">string</td> <td>由后端处理过的html代码,嵌入到html页面</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML