文档
测试

通過guest_id,anchor_id獲取最後一條通話信息

POST
/api/mc/live/getLastCallInfo

请求头

参数名
类型
描述
必填
XX-Token
string
用户token
必填
XX-Device-Type
string
设备类型 android、ios
必填

请求参数

参数名
类型
描述
必填
guest_id
int
用戶的ID
必填
anchor_id
int
主播的ID
必填

响应参数

参数名
类型
描述
必填
code
int
返回码
必填
msg
string
提示信息
必填
data
array
返回数据
必填

说明 / 示例

有記錄返回成功 ```json { "code": 1, "msg": "成功", "data": { "id": 414, "uid": 102021, "liveuid": 102035, "type": 1, "coin": 70, "showid": 1614149098, "status": 2, "starttime": 1614149129, "endtime": 1614149170, "total": 0, "gift": 0 } } ``` 沒有記錄則錯誤碼為0 ```json { "code": 0, "msg": "記錄不存在", "data": "" } ```