[TOC]
## 列表
~~~[api]
post:/user/agentlist
*int:page=1#分页
*int:limit=10#条数
<<<
success
{
"code":0,
"info":"成功",
"data":{
"list":[
{"id":4,"name":"运营管理","code":"","token":"",…},
{"id":2,"name":"运营管理","code":"","token":"",…},
{"id":1,"name":"超级管理员","code":"","token":"",…}
],
"count":0
}
}
~~~
## 一个
~~~[api]
post:/user/agentInfo
*int:id=1#代理ID
<<<
success
~~~
## 添加
~~~[api]
post:/user/addagent
*string:name=姓名#姓名
*int:phone=18260442722#电话
*int:province_ids=['110000','120000']#代理省份,传数组
<<<
success
~~~
## 编辑
~~~[api]
post:/user/editagent
*int:id=1#ID
*string:name=姓名#姓名
*int:phone=18260442722#电话
*int:province_ids=['110000','120000']#代理省份,传数组
<<<
success
~~~
## 获取绑定二维码
~~~[api]
post:/user/agentbind
*int:id=1#代理ID
<<<
success
~~~
## 解除绑定
~~~[api]
post:/user/agentrelieve
*int:id=1#代理ID
<<<
success
~~~