|
|
@@ -371,7 +371,6 @@ class VideoService extends BaseService
|
|
|
if($fileUrl){
|
|
|
$result = upload_video($request,'video');
|
|
|
$data = isset($result['data'])? $result['data'] : [];
|
|
|
- var_dump($result);
|
|
|
$fileUrl = isset($data['file_path'])? $data['file_path'] : '';
|
|
|
if(empty($fileUrl)){
|
|
|
$this->error = 2212;
|
|
|
@@ -413,6 +412,7 @@ class VideoService extends BaseService
|
|
|
'type' => $type,
|
|
|
'description' => $description,
|
|
|
'tags' => isset($params['tags']) && $params['tags']? implode(',', $params['tags']) : '',
|
|
|
+ 'file_url' => $fileUrl,
|
|
|
'thumb' => $thumb,
|
|
|
'albums' => $albums? json_encode($albums) : '',
|
|
|
'music_hash' => isset($params['music_hash'])? trim($params['music_hash']) : '',
|