关闭提交时间
This commit is contained in:
parent
f5eb29a27b
commit
68fac22bbf
@ -164,13 +164,27 @@ 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{
|
||||
x="你按下了\"取消\"按钮!";
|
||||
|
@ -411,6 +411,7 @@
|
||||
const urldata = GetRequest('roomid')
|
||||
window.roomid = urldata.roomid
|
||||
window.mid = urldata.memberid
|
||||
window.lvieid = urldata.liveid
|
||||
window.uname = urldata.name
|
||||
</script>
|
||||
|
||||
@ -436,6 +437,12 @@
|
||||
<script src="./js/device-testing.js"></script>
|
||||
<script src="./js/index.js"></script>
|
||||
<a href="/regime/video" target="_top" id="navto"></a>
|
||||
<script>
|
||||
window.mytime = 0;
|
||||
window.myt = setInterval(()=>{
|
||||
mytime++;
|
||||
},1000)
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -18,7 +18,7 @@ export default defineComponent({
|
||||
if(id && typeof id == 'string'){
|
||||
getliveinfo(parseInt(id)).then((res: any)=>{
|
||||
luzhi(res.roomid)
|
||||
url.value = `/zhibo.html?roomid=${res.roomid}&memberid=${res.memberid}&name=${escape(store.state.userinfo.name)}`
|
||||
url.value = `/zhibo.html?roomid=${res.roomid}&memberid=${res.memberid}&name=${escape(store.state.userinfo.name)}$liveid=${res.liveid}`
|
||||
})
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user