|
@@ -81,7 +81,7 @@ class GeneratePreviewVideo extends Command
|
|
|
$this->generatePreview($localFilePath, $previewPath);
|
|
|
|
|
|
//上传到OSS
|
|
|
- $uploadPath = 'videos/uploads/previews/'. date('Ym').'/';
|
|
|
+ $uploadPath = 'videos/uploads/previews/'. date('Ym');
|
|
|
$file = new File($previewPath);
|
|
|
$disk->putFileAs($uploadPath, $file, $previewName);
|
|
|
|