Commit 6ca0e276 by Administrator

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

parent aa1b47d4
...@@ -105,7 +105,8 @@ ...@@ -105,7 +105,8 @@
} else if (status == "NETWORK_ERROR") { } else if (status == "NETWORK_ERROR") {
ui.error("网络错误"); ui.error("网络错误");
} else { } else {
ui.error("api错误码:" + status); ui.error("1111);
// ui.error("api错误码:" + status);
} }
} }
//------------------- //-------------------
......
...@@ -53,10 +53,9 @@ class PublicAction extends Action ...@@ -53,10 +53,9 @@ class PublicAction extends Action
$query['userid'] = urlencode($this->cc_video_config['cc_userid']); $query['userid'] = urlencode($this->cc_video_config['cc_userid']);
$query['categoryid'] = urlencode($this->cc_video_config['cc_category_id']); $query['categoryid'] = urlencode($this->cc_video_config['cc_category_id']);
$time = time(); $time = time();
echo 1; $video_hash_str = createVideoHashedQueryString( $query , $time);
// $video_hash_str = createVideoHashedQueryString( $query , $time); $upload_url = $video_hash_str['str'] . '&time=' . $time . '&hash=' . $video_hash_str['hash'];
// $upload_url = $video_hash_str['str'] . '&time=' . $time . '&hash=' . $video_hash_str['hash']; echo $upload_url;
// echo $upload_url;
} }
//回调cc视频信息 //回调cc视频信息
......
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