瀏覽代碼

视频预览

moshaorui 3 周之前
父節點
當前提交
23b13bcd95
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Console/Commands/GeneratePreviewVideo.php

+ 1 - 1
app/Console/Commands/GeneratePreviewVideo.php

@@ -81,7 +81,7 @@ class GeneratePreviewVideo extends Command
                 $this->generatePreview($localFilePath, $previewPath);
                 //上传到OSS
                 $uploadPath = 'videos/uploads/previews/'. date('Ym');
-                //$disk->putFile($uploadPath,$previewPath);
+                $disk->putFile($uploadPath,$previewPath);
 
                 DB::table('site_preview_video')
                     ->where('id', $item->id)