文档
测试

拨浪鼓客户名单查询接口

GET
http://blg.baidukongjian.com/api/blg/getCustomer

接口描述

客户名单信息获取接口

后端接口实现

获取到get请求传入的参数,根据corp_id从corp_customer_list获取B/C端对应的信息发送给前端

请求参数

参数名
类型
描述
必填
corp_id
string
企业id
必填
pageNum
int
当前页(默认1)
必填
pageSize
int
每页数据大小(默认10)
必填
customerStatus
string
检索条件:发送状态。未发送/已发送/暂不发送
必填

响应参数

参数名
类型
描述
必填
ret
string
返回结果
必填
ok
返回成功
必填
缺少参数
缺少corp_id
必填
获取失败
其他运行中出错
必填
data_arr
arr
客户数据组
必填
list
arr
返回数据
必填
id
int
corp_customer_list发送队列id
必填
username
string(20)
客户姓名
必填
phoneNum
sring(11)
手机号
必填
customerTag
string(30)
客户标签
必填
email
string(100)
邮箱地址
必填
corpName
string(10)
企业名称
必填
sendUserId
string(15)
完成该发送任务的用户名id
可选
customerStatus
string(6)
未添加/已添加/被删除
必填
total
int
数据总条数
必填
pageNum
int
当前页
必填
pageSize
int
每页数据大小
必填

说明 / 示例

``` { "ret": "ok", "data_arr": { "total": 49989, "list": [ { "id": null, "corpId": null, "username": "林奎", "phoneNum": "13438881882", "customerTag": "科技推广和应用服务业", "email": "121425400@qq.com", "sex": null, "sendUserId": null, "sendTime": null, "addTime": null, "infoStatus": null, "customerStatus": "未发送", "customerId": null, "businessId": null, "corpName": "什邡市华邦斯特新材料科技有限公司" }, { "id": null, "corpId": null, "username": "田术合", "phoneNum": "13438881948", "customerTag": "建筑装饰和其他建筑业", "email": "", "sex": null, "sendUserId": null, "sendTime": null, "addTime": null, "infoStatus": null, "customerStatus": "未发送", "customerId": null, "businessId": null, "corpName": "成都用心装饰工程有限公司" } ], "pageNum": 1, "pageSize": 10, "size": 10, "startRow": 1, "endRow": 10, "pages": 4999, "prePage": 0, "nextPage": 2, "isFirstPage": true, "isLastPage": false, "hasPreviousPage": false, "hasNextPage": true, "navigatePages": 8, "navigatepageNums": [ 1, 2, 3, 4, 5, 6, 7, 8 ], "navigateFirstPage": 1, "navigateLastPage": 8 } } ```