ERP后台

ERP后台API


类型管理

<h5>简要描述</h5> <ul> <li>类型管理</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/Admin/Complain/complain_menu</code></li> </ul> <h5>请求方式</h5> <ul> <li>非akax页面</li> <li>AJAX(get)获取数据</li> </ul> <h5>参数</h5> <h5>返回示例</h5> <pre><code> array(3) { [0] =&gt; array(6) { ["id"] =&gt; string(1) "1" ["title"] =&gt; string(6) "退款" //类型名称 ["level"] =&gt; string(1) "1" ["pid"] =&gt; string(1) "0" ["status"] =&gt; string(1) "1" ["son"] =&gt; array(6) { [0] =&gt; array(5) { ["id"] =&gt; string(1) "4" ["title"] =&gt; string(12) "退加盟费" //类别名称 ["level"] =&gt; string(1) "2" ["pid"] =&gt; string(1) "1" ["status"] =&gt; string(1) "1" } } } [1] =&gt; array(6) { ["id"] =&gt; string(1) "2" ["title"] =&gt; string(6) "手续" ["level"] =&gt; string(1) "1" ["pid"] =&gt; string(1) "0" ["status"] =&gt; string(1) "1" ["son"] =&gt; array(7) { [0] =&gt; array(5) { ["id"] =&gt; string(2) "10" ["title"] =&gt; string(15) "登记证照片" ["level"] =&gt; string(1) "2" ["pid"] =&gt; string(1) "2" ["status"] =&gt; string(1) "1" } [1] =&gt; array(5) { ["id"] =&gt; string(2) "11" ["title"] =&gt; string(6) "保单" ["level"] =&gt; string(1) "2" ["pid"] =&gt; string(1) "2" ["status"] =&gt; string(1) "1" } } } [2] =&gt; array(6) { ["id"] =&gt; string(1) "3" ["title"] =&gt; string(6) "其他" ["level"] =&gt; string(1) "1" ["pid"] =&gt; string(1) "0" ["status"] =&gt; string(1) "1" ["son"] =&gt; array(3) { [0] =&gt; array(5) { ["id"] =&gt; string(2) "17" ["title"] =&gt; string(15) "竞拍保证金" ["level"] =&gt; string(1) "2" ["pid"] =&gt; string(1) "3" ["status"] =&gt; string(1) "1" } } } }</code></pre> <h5>返回参数说明</h5> <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;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML