wesmiler 2 лет назад
Родитель
Сommit
0f54d7f630
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Api/VideoService.php

+ 1 - 1
app/Services/Api/VideoService.php

@@ -368,7 +368,7 @@ class VideoService extends BaseService
         $albums = isset($params['albums'])? $params['albums'] : [];
         if($type == 1) {
             if($fileUrl){
-                $result = upload_video($fileUrl,'file_url');
+                $result = upload_video($fileUrl,'video');
                 $fileUrl = isset($result['file_path'])? $result['file_path'] : '';
                 if(empty($fileUrl)){
                     $this->error = 2212;