ecshop3

ecshop3


客服列表

<p><strong>简要描述:</strong> </p> <ul> <li>删除客服接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/supplier/privilege.php</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST || 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;">action</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>&quot;supplier_admin_list&quot;</td> </tr> <tr> <td style="text-align: left;">lang</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>zh_cn:中文;khmer:柬文;en_us:英语</td> </tr> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>第三方登录获得的accesstoken</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": 0, "msg": "操作成功!", "data": [ { "id": "17", "user_id": "218", "user_name": "1@1234567",//账号 "nick_name": "",//昵称 "name": "",//姓名 "role_id": "11", "role_name": "Customer Service",//角色名称 "role": "0",//角色:0:客服,1:管理员 "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png"//头像 }, { "id": "18", "user_id": "219", "user_name": "1@12345678", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "19", "user_id": "221", "user_name": "1@1234567899", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "20", "user_id": "229", "user_name": "1@12345678991", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "21", "user_id": "230", "user_name": "1@123456789912", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "25", "user_id": "0", "user_name": "1@12345678991237", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "26", "user_id": "0", "user_name": "1@12345678991238", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "27", "user_id": "0", "user_name": "1@1234567899124", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "28", "user_id": "0", "user_name": "1@1234567899125", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "29", "user_id": "0", "user_name": "1@1234568", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "30", "user_id": "0", "user_name": "1@1234570", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "31", "user_id": "0", "user_name": "1@1234571", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" }, { "id": "32", "user_id": "0", "user_name": "1@1234572", "nick_name": "", "name": "", "role_id": "11", "role_name": "Customer Service", "role": "0", "pic": "http://192.168.88.232:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" } ] }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">code</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">10001</td> <td style="text-align: left;">未登录</td> </tr> </tbody> </table> <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;">code</td> <td style="text-align: left;">int</td> <td>0:成功,非0:失败</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">int</td> <td>错误信息</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">数组</td> <td>返回数据</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML