xiufu
This commit is contained in:
@@ -169,22 +169,22 @@ function setBtnClickFuc() {
|
||||
}).catch(function(imError) {
|
||||
console.warn('dismissGroup error:', imError); // 解散群组失败的相关信息
|
||||
});
|
||||
const jiekou = new Promise((res)=>{
|
||||
$.ajax({
|
||||
url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid,
|
||||
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
|
||||
success(){
|
||||
res(1)
|
||||
}
|
||||
})
|
||||
})
|
||||
// const jiekou = new Promise((res)=>{
|
||||
// $.ajax({
|
||||
// url: window.url + 'StopMCUMixTranscode?roomid=' + window.roomid,
|
||||
// headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
|
||||
// success(){
|
||||
// res(1)
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
const jieshu = new Promise((res)=>{
|
||||
$.ajax({
|
||||
url: window.url + 'live/' + window.liveid,
|
||||
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
|
||||
method:"PUT",
|
||||
data:{
|
||||
livestatus: 2
|
||||
status: 2
|
||||
},
|
||||
success(){
|
||||
res(1)
|
||||
@@ -200,7 +200,7 @@ function setBtnClickFuc() {
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
Promise.allSettled([promise,jiekou,jieshu,jieshuh]).then(()=>{
|
||||
Promise.allSettled([promise,jieshu]).then(()=>{
|
||||
window.parent.location.href="/regime/livedetail?id=" + window.liveid;
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user