简要描述:
- 待服务的访客列表
请求URL:
POST/serviceapi/service/getNowServiceList
返回示例:
正确时返回:
{
"code": 0,
"data": [
],
"data": {
"data": [
{
"cid": 5,
"customer_id": "520",
"customer_name": "abc",
"customer_avatar": "http://shop306542.ni.com/public/static/images/headimg.png",
"customer_ip": "192.168.28.2",
"seller_code": "5d3e520401f40",
"pre_kefu_code": "5d3e53fc98e33",
"client_id": "fdf808164a52d74102ae752f",
"online_status": 0,
"chat_time": "2019-08-06 15:12:25",
"create_time": "2019-08-06 15:12:25",
"protocol": "ws",
"log_id": 265,
"real_name": "",
"unread_num": 0
}
]
}
"msg": "ok"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
cid | int | 列表ID |
customer_id | int | 访客ID |
customer_name | string | 访客名称 |
customer_avatar | string | 访客头像 |
customer_ip | string | 访客ip |
seller_code | string | 商户标识 |
pre_kefu_code | string | 上次服务的客服标识 |
client_id | string | 访客端标识 |
online_status | int | 0 离线 1 在线 |
chat_time | int | 最后聊天时间 |
create_time | int | 访问时间 |
protocol | int | 接入协议 |
log_id | int | 记录ID |
real_name | string | 真实名称 |
unread_num | int | 未读数 |