文档
测试

人工客服聊天接口

POST
http://[port]:[port]/insoApp/my/labour/push

请求参数

参数名
类型
描述
必填
userId
int
用户ID
必填
acceptId
int
客服ID
必填
serviceType
int
客服类型(1:人工服务;2:机器人)
必填
chatContent
string
聊天内容
必填
sendStatus
int
发送状态(0:客户发送 1:客服发送)
必填
chatFile
string
聊天图片或语音路径
必填

响应参数

参数名
类型
描述
必填
code
int
执行结果代码
必填
message
string
执行结果信息
必填

请求示例

``` { "userId":2, "acceptId":1, "serviceType":1, "chatContent":"呀呀呀呀呀呀呀呀", "chatFile":null, "sendStatus":1 }

响应示例

``` { "msg": "succeed", "code": 200 }