Commit 3aaf6c72 by Administrator

'上传课件视频报错修改'

parent b1f9b81b
...@@ -97,6 +97,7 @@ ...@@ -97,6 +97,7 @@
//说明:用户可以加入相应逻辑 //说明:用户可以加入相应逻辑
//------------------- //-------------------
function on_spark_upload_validated(status, videoid) { function on_spark_upload_validated(status, videoid) {
console.log(status);
if (status == "OK") { if (status == "OK") {
document.getElementById("videoid_cc").value = videoid; document.getElementById("videoid_cc").value = videoid;
document.getElementById("videokey").value = videoid; document.getElementById("videokey").value = videoid;
...@@ -105,8 +106,7 @@ ...@@ -105,8 +106,7 @@
} else if (status == "NETWORK_ERROR") { } else if (status == "NETWORK_ERROR") {
ui.error("网络错误"); ui.error("网络错误");
} else { } else {
ui.error("1111"); ui.error("api错误码:" + status);
// ui.error("api错误码:" + status);
} }
} }
//------------------- //-------------------
......
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