## 获取聊天记录api
~~~[api]
get:/wxapi/getUserChatHistory
*userid=2831#当前用户id
*touserid=2831#沟通用户id
*machineid=2831#机源id
*muserid=2831#机源所属用户id
<<<
success
{
"status": "success",
"code": 0,
"message": "成功",
"data": []
}
<<<
error
{
"status": "error",
"code": 4002,
"message": "参数错误",
"data": []
}
~~~
| 错误状态码 | 说明 |
| --- | --- |
| 4002 | 参数错误 |
| 4001 | 非法的请求 |