|
@@ -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)
|