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

登录页面

parent d2837c7a
...@@ -226,23 +226,9 @@ ...@@ -226,23 +226,9 @@
} }
/* pdf */ /* pdf */
function getPdf(time){ function getPdf(time){
HTTP.post("getPdf", {}, function(result) { pdfshow("getPdf","gylct",time||20000)
if (result['success']) {
let data=result.data.pdf
pdfshow(data,"gylct",time||20000)
} else {
console.log("请求失败")
}
});
} }
/* video */ /* video */
function getVideo(){ function getVideo(){
HTTP.post("getVideo", {}, function(result) { $("video").attr('src','getVideo')
if (result['success']) {
let data=result.data.video
$("video").attr('src',data)
} else {
console.log("请求失败")
}
});
} }
\ 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