moshaorui 3 veckor sedan
förälder
incheckning
56b09d5da5
1 ändrade filer med 1 tillägg och 1 borttagningar
  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').'/';
+                $uploadPath = 'videos/uploads/previews/'. date('Ym');
                 $file = new File($previewPath);
                 $disk->putFileAs($uploadPath, $file, $previewName);