请求URL:
POST/xx.com/business/{公众号id}/plugin/CustomerManage/getRecordList
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| search.customer_id | 否 | int | 客户id |
| search.follow_type_id | 否 | int | 跟进类型id |
| search.content | 否 | string | 跟进内容搜索 |
| search.follow_staff_id | 否 | int | 跟进人id |
| search.customer_name | 否 | string | 客户名称 |
| search.member_id | 否 | int | 会员id |
| search.mobile | 否 | int | 客户手机号 |
| search.industry_id | 否 | int | 行业id |
| search.department_name | 否 | string | 部门名称 |
| search.tag_id | 否 | int | 标签id |
| search.date | 否 | array | 时间([开始时间戳,结束时间戳]) |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 143,
"customer": {
"id": 69,
"name": "朱家伟",
"member_id": 2,
"mobile": "13229012560",
"tags": [
"测测1111",
"测测1111の45"
],
"progress_name": "进展1",
"source_name": "来源1",
"department_name": "3D建模部"
},
"staff_id": 3,
"created_at": "2025-12-16 10:30:32",
"content": "测试记录",
"follow_type_name": null,
"diy_content": null
}
],
"first_page_url": "http://yzhonshop.com/business/1/plugin/CustomerManage/getRecordList?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://yzhonshop.com/business/1/plugin/CustomerManage/getRecordList?page=1",
"links": [
{
"url": null,
"label": "« 上一页",
"active": false
},
{
"url": "http://yzhonshop.com/business/1/plugin/CustomerManage/getRecordList?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "下一页 »",
"active": false
}
],
"next_page_url": null,
"path": "http://yzhonshop.com/business/1/plugin/CustomerManage/getRecordList",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | 记录id |
| customer.id | int | 客户id |
| customer.name | string | 客户名称 |
| customer.memberid | int | 会员id |
| customer.mobile | int | 客户手机号 |
| customer.tags[] | array | 标签 |
| customer.industry_name | string | 行业 |
| customer.source_name | string | 来源 |
| staff_id | int | 跟进人id |
| content | string | 跟进内容 |
| follow_type_name | string | 跟进类型名称 |
| diy_content | array | 跟新类型自定义内容 |