文档
测试

主播掛斷通話

POST
/api/mc/live/anchorHangUp

请求头

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

请求参数

参数名
类型
描述
必填
guest_id
int
用戶的ID,哪個用戶打電話給主播
必填
show_id
int
創建通話時候im傳過來的通話標識
必填

响应参数

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

说明 / 示例

錯誤清楚比較多,直接看返回的錯誤信息。文檔後面補。 length 通話時長 gift_total 本次通話獲得禮物 answer_total 本次通話對方消耗鑽石 ```json { "code": 1, "msg": "掛斷成功", "data": { "user_type": "anchor", "length": "45秒", "gift_total": 0, "answer_total": 140 "room_id": 102021 "show_id": 16956875602 } }```