Commit 57fd96e3 authored by 李苏's avatar 李苏 💬

登录页面

parent d2837c7a
......@@ -226,23 +226,9 @@
}
/* pdf */
function getPdf(time){
HTTP.post("getPdf", {}, function(result) {
if (result['success']) {
let data=result.data.pdf
pdfshow(data,"gylct",time||20000)
} else {
console.log("请求失败")
}
});
pdfshow("getPdf","gylct",time||20000)
}
/* video */
function getVideo(){
HTTP.post("getVideo", {}, function(result) {
if (result['success']) {
let data=result.data.video
$("video").attr('src',data)
} else {
console.log("请求失败")
}
});
$("video").attr('src','getVideo')
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment