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

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


通过appcode获取角色列表

<p><strong>简要描述:</strong> </p> <ul> <li>通过appcode获取角色列表</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>Admins/get_roles_list</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;">appcode</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>商户编号</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { 'list' =&gt; array (size=8) 0 =&gt; array (size=9) 'id' =&gt; string '142' (length=3) 'pid' =&gt; string '0' (length=1) 'appcode' =&gt; string 'GZJLF001' (length=8) 'name' =&gt; string '广州财务' (length=12) 'status' =&gt; string '1' (length=1) 'remark' =&gt; string '广州财务人员查询' (length=24) 'createtime' =&gt; string '1561692873' (length=10) 'updatetime' =&gt; string '1561693036' (length=10) 'listorder' =&gt; string '0' (length=1) 1 =&gt; array (size=9) 'id' =&gt; string '87' (length=2) 'pid' =&gt; string '0' (length=1) 'appcode' =&gt; string 'GZJLF001' (length=8) 'name' =&gt; string '人事' (length=6) 'status' =&gt; string '1' (length=1) 'remark' =&gt; string '人事' (length=6) 'createtime' =&gt; string '1509360270' (length=10) 'updatetime' =&gt; string '0' (length=1) 'listorder' =&gt; string '0' (length=1) 2 =&gt; array (size=9) 'id' =&gt; string '81' (length=2) 'pid' =&gt; string '0' (length=1) 'appcode' =&gt; string 'GZJLF001' (length=8) 'name' =&gt; string '网络营销主管' (length=18) 'status' =&gt; string '1' (length=1) 'remark' =&gt; string '' (length=0) 'createtime' =&gt; string '1500550377' (length=10) 'updatetime' =&gt; string '0' (length=1) 'listorder' =&gt; string '0' (length=1) 3 =&gt; array (size=9) 'id' =&gt; string '55' (length=2) 'pid' =&gt; string '0' (length=1) 'appcode' =&gt; string 'GZJLF001' (length=8) 'name' =&gt; string '财务充值' (length=12) 'status' =&gt; string '1' (length=1) 'remark' =&gt; string '' (length=0) 'createtime' =&gt; string '1482291064' (length=10) 'updatetime' =&gt; string '1482291079' (length=10) 'listorder' =&gt; string '0' (length=1) 4 =&gt; array (size=9) 'id' =&gt; string '47' (length=2) 'pid' =&gt; string '0' (length=1) 'appcode' =&gt; string 'GZJLF001' (length=8) 'name' =&gt; string '客服' (length=6) 'status' =&gt; string '1' (length=1) 'remark' =&gt; string '评论管理' (length=12) 'createtime' =&gt; string '1477896983' (length=10) 'updatetime' =&gt; string '1477897024' (length=10) 'listorder' =&gt; string '0' (length=1) 5 =&gt; array (size=9) 'id' =&gt; string '42' (length=2) 'pid' =&gt; string '0' (length=1) 'appcode' =&gt; string 'GZJLF001' (length=8) 'name' =&gt; string '活动统计' (length=12) 'status' =&gt; string '1' (length=1) 'remark' =&gt; string '' (length=0) 'createtime' =&gt; string '1471619905' (length=10) 'updatetime' =&gt; string '0' (length=1) 'listorder' =&gt; string '0' (length=1) 6 =&gt; array (size=9) 'id' =&gt; string '17' (length=2) 'pid' =&gt; string '0' (length=1) 'appcode' =&gt; string 'GZJLF001' (length=8) 'name' =&gt; string '财务' (length=6) 'status' =&gt; string '1' (length=1) 'remark' =&gt; string '武汉财务' (length=12) 'createtime' =&gt; string '1459412536' (length=10) 'updatetime' =&gt; string '0' (length=1) 'listorder' =&gt; string '0' (length=1) 7 =&gt; array (size=9) 'id' =&gt; string '16' (length=2) 'pid' =&gt; string '0' (length=1) 'appcode' =&gt; string 'GZJLF001' (length=8) 'name' =&gt; string '超级管理员(武汉)' (length=27) 'status' =&gt; string '1' (length=1) 'remark' =&gt; string '武汉超级管理员' (length=21) 'createtime' =&gt; string '1459412469' (length=10) 'updatetime' =&gt; string '1466135340' (length=10) 'listorder' =&gt; string '0' (length=1) }</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;">list</td> <td style="text-align: left;">array</td> <td>数据列表</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML