打包
This commit is contained in:
20
dist/zhibo.html
vendored
20
dist/zhibo.html
vendored
@@ -411,6 +411,7 @@
|
||||
const urldata = GetRequest('roomid')
|
||||
window.roomid = urldata.roomid
|
||||
window.mid = urldata.memberid
|
||||
window.liveid = urldata.liveid
|
||||
window.uname = urldata.name
|
||||
</script>
|
||||
|
||||
@@ -436,6 +437,25 @@
|
||||
<script src="./js/device-testing.js"></script>
|
||||
<script src="./js/index.js"></script>
|
||||
<a href="/regime/video" target="_top" id="navto"></a>
|
||||
<script>
|
||||
|
||||
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>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user