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