Commit 55a09786 by Administrator

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

parent b6083340
...@@ -53,9 +53,12 @@ class PublicAction extends Action ...@@ -53,9 +53,12 @@ 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);
echo 2;
$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 1; echo 3;
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