后台管理IM通信


音视频通讯记录

请求URL
  • http://xx.com/communication/audioList
Headers
  • token
请求方式
  • GET
参数
参数名 必选 类型 说明
initiator string 发起者昵称或手机搜索
recipient string 接收者昵称或手机搜索
type int 1.语音 2.视频
status string 1、.startComm 发起通话 2、.handleOnOtherDevice 已在其他端处理 3、.busy 对方忙4、.refuse 拒绝通话 5、.cancel 您已取消呼叫 6、.remoteCancel 通话已取消 7、.noResponse 对方超时未响应 8、.remoteNoResponse 未接听 9、.hangup 通话已结束
返回示例
{
    "error_code": 0,
    "msg": "success",
    "data": [
        {
            "id": 1,
            "from":"2",//1个人通话 2群通话
            "type": 1, //1.语音 2.视频
            "status": ".hangup", //1、.startComm 发起通话 2、.handleOnOtherDevice 已在其他端处理 3、.busy 对方忙4、.refuse 拒绝通话 5、.cancel 您已取消呼叫 6、.remoteCancel 通话已取消 7、.noResponse 对方超时未响应 8、.remoteNoResponse 未接听 9、.hangup 通话已结束
            "initiator": {
                "id": 51,
                "nickname": "快洽51", //发起者昵称
                "phone": "13040882613", //发起者手机
                "headimg": ""
            },
            "recipient": {
                "id": 62,
                "nickname": "im62", //接收者昵称
                "phone": "13040882627", //接收者手机
                "headimg": ""
            },
            "channel": "asdasd", //通道ID
            "duration": 5, //时长,秒
            "created_at": "2021-11-23 00:00:00", //发起时间
            "updated_at": "2021-11-23 00:00:00" //结束时间
        }
    ],
    "total": 4
}
返回参数说明
参数名 类型 说明
error_code int 0成功
msg string ok
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML