关闭提交时间

This commit is contained in:
2020-11-30 11:17:22 +08:00
parent f5eb29a27b
commit 68fac22bbf
3 changed files with 24 additions and 3 deletions

View File

@@ -164,12 +164,26 @@ function setBtnClickFuc() {
$('#room-root').hide();
$('#login-root').show();
$.ajax({
url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid,
url: window.url + 'onExitRoom?roomid=' + window.roomid,
headers: "Bearer " + localStorage.getItem("token"),
method:"POST",
data:{
type:1,
memberid:window.mid,
liveid:wiondow.liveid,
length:window.mytime
},
success(){
window.parent.location.href="/regime/live";
$.ajax({
url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid,
headers: "Bearer " + localStorage.getItem("token"),
success(){
window.parent.location.href="/regime/live";
}
})
}
})
}
else{