直播5秒
This commit is contained in:
@@ -411,7 +411,7 @@
|
||||
const urldata = GetRequest('roomid')
|
||||
window.roomid = urldata.roomid
|
||||
window.mid = urldata.memberid
|
||||
window.lvieid = urldata.liveid
|
||||
window.liveid = urldata.liveid
|
||||
window.uname = urldata.name
|
||||
</script>
|
||||
|
||||
@@ -438,10 +438,23 @@
|
||||
<script src="./js/index.js"></script>
|
||||
<a href="/regime/video" target="_top" id="navto"></a>
|
||||
<script>
|
||||
window.mytime = 0;
|
||||
window.myt = setInterval(()=>{
|
||||
mytime++;
|
||||
},1000)
|
||||
|
||||
setInterval(()=>{
|
||||
$.ajax({
|
||||
url: window.url + 'onExitRoom',
|
||||
headers: { "Authorization": "Bearer " + localStorage.getItem("token")},
|
||||
method:"POST",
|
||||
data:{
|
||||
type:1,
|
||||
memberid:window.mid,
|
||||
liveid:window.liveid,
|
||||
length:5
|
||||
},
|
||||
success(){
|
||||
|
||||
}
|
||||
})
|
||||
},5000)
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user