check.js
852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
function to_top(id) {
$.ajax({
url : BASE+'/check/top/'+id,
type : 'get',
async : true,
error : function() {
alert('获取错误!');
},
success : function(data) {
window.location.href="../list/1";
}
});
}
function to_pass(id) {
$.ajax({
url : BASE+'/check/pass/'+id,
type : 'get',
async : true,
error : function() {
alert('获取错误!');
},
success : function(data) {
window.location.href="../list/1";
}
});
}
//断流处理
//function play_close(id,live_url){
// $.ajax({
// url : '../../check/cut/' + id,
// type : 'post',
// datatype : "json",
// async : true,
// data:{"live_url":live_url},
// error : function() {
// alert('关闭时发生错误!');
// },
// success : function(data) {
// location.href = '../../check/list/1';
// alert("关闭成功");
// }
// });
//}
//change