This commit is contained in:
unknown 2020-11-30 16:22:04 +08:00
parent 6750d3358c
commit bde66631fc

View File

@ -191,15 +191,15 @@ function setBtnClickFuc() {
} }
}) })
}) })
const jieshuh = new Promise((res)=>{ // const jieshuh = new Promise((res)=>{
$.ajax({ // $.ajax({
url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid, // url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid,
headers: { "Authorization": "Bearer " + localStorage.getItem("token")}, // headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
success(){ // success(){
res(1) // res(1)
} // }
}) // })
}) // })
Promise.allSettled([promise,jiekou,jieshu,jieshuh]).then(()=>{ Promise.allSettled([promise,jiekou,jieshu,jieshuh]).then(()=>{
window.parent.location.href="/regime/livedetail?id=" + window.liveid; window.parent.location.href="/regime/livedetail?id=" + window.liveid;
}) })