fly 4 years ago
parent
commit
a44c6bc17b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Services/Export/AbstractExportTask.php

+ 1 - 1
src/Services/Export/AbstractExportTask.php

@@ -67,7 +67,7 @@ abstract class AbstractExportTask
     public function saveExportTaskFilePath(string $local_path, string $file_name)
     {
         $service = new AliOSSHelper;
-        $oss_path = $service->uploadFile("reports/" . $file_name, $local_path);
+        $oss_path = $service->uploadFile("reports/" . $file_name, $local_path . '/' . $file_name);
         if ($oss_path) {
             $this->model->file_path = $oss_path;
             $this->setStatus(self::complete);