Appearance
查询推广员客户列表
| 拥有此API的权限集 |
|---|
| 推广员管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.distributor.member.sub_customer/1.0.0 - 频率限制:
10秒3000次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| user_id | 是 | string | 推广员用户id |
| bind_state | 否 | string | 绑定状态:0-所有状态 1 - 绑定中 2-已解绑 |
| page_size | 否 | string | 每页大小,1<page_size<100 |
| page_index | 否 | string | 页数 |
请求示例
{
"access_token": "xe_xxxxx",
"user_id":"u_5fa4b53d0b699_YSbRbbDGtX",
"page_index":1,
"page_size":100
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码 |
| msg | string | 返回信息 |
| data | object | 返回值 |
| data.total | int | 总数 |
| data.list | object | 客户列表 |
| data.distributor_info | object | 推广员信息 |
data.list客户列表
| 参数名 | 类型 | 说明 |
|---|---|---|
| sub_user_id | string | 客户id |
| wx_avatar | string | 客户头像 |
| wx_nickname | string | 客户昵称 |
| order_num | int | 累计消费笔数 |
| sum_price | int | 累计消费金额(单位:分) |
| bind_time | string | 最新关系变更时间 |
| status | int | 状态 |
| status_text | string | 状态的含义 |
| remain_days | int | 剩余有效期 |
| expired_at | string | 过期时间 |
| is_editable | int | 是否可编辑 |
| is_anonymous | bool | 是否是匿名用户 |
data.distributor_info推广员信息 |
| 参数名 | 类型 | 说明 |
|---|---|---|
| phone | string | 手机号 |
| wx_avatar | string | 头像 |
| wx_nickname | string | 昵称 |
| app_id | string | 店铺id |
| user_id | string | 用户id |
| can_modify_phone | int | 1:可以修改 0:不可以修改 |
| team_name | string | 绑定门店名称 |
| team_id | string | 绑定门店id |
返回示例
{
"code": 0,
"msg": "ok",
"data": {
"total": 43,
"distributor_info": {
"app_id": "appxxx",
"can_modify_phone": 1,
"phone": "xxx",
"user_id": "u_xxx",
"wx_avatar": "http://wechatavator-1252524126.file.myqcloud.com/appAKLWLitn7978/image/compress/u_5fa4b53d0b699_YSbRbbDGtX.png",
"wx_nickname": "卡兹克名字太长会怎么显示",
"team_name": "绑定门店名称",
"team_id": "dt_aqKzOXCQUaRSSY*****"
},
"list": [
{
"bind_time": "2021-11-26 12:56:04",
"expired_at": "2021-11-27 14:45:52",
"is_anonymous": false,
"is_editable": 1,
"order_num": 1,
"remain_days": 1,
"status": 1,
"status_text": "绑定中",
"sub_user_id": "u_xxxx",
"sum_price": "10",
"wx_avatar": "http://wechatavator-1252524126.file.myqcloud.com/appAKLWLitn7978/image/compress/u_5f9aafc835dab_F43Colvoxs.png",
"wx_nickname": "仲商"
}
]
}
}