简要描述:
| 版本号 |
制定人 |
制定日期 |
修订日期 |
| 1.0.0 |
kevin |
2021-08-14 |
|
请求URL:
请求方式:
请求头:
请求参数:
| 参数名 |
是否必须 |
类型 |
说明 |
| link_type |
是 |
string |
ws |
| module |
是 |
string |
unionchat |
| device_type |
是 |
string |
设备类型【app=,pc=PC端,h5=移动端,desktop=桌面端】 |
| action |
是 |
string |
close |
| token |
是 |
string |
登录凭证 |
| type |
是 |
string |
1 |
| to_uid |
是 |
string |
发给谁 |
| content |
是 |
string |
1=主动结束会话,2=定时关闭会话 |
返回示例:
正确时返回:
{
action: "close"
data: {
content: "1"
}
msg: "发送成功"
status: 200
}
{
action: "close"
data: {
content: "2"
}
msg: "发送成功"
status: 200
}
错误时返回:
{}
返回参数说明:
| 参数名 |
类型 |
说明 |
| content |
是 |
string |
备注:
文档更新时间: 2021-10-18 14:19 作者:admin