getUploadPath(); } protected function huaweiOBSUpload(): string { $storePath = 'uploads' . DIRECTORY_SEPARATOR . $this->getUploadedFileMimeType() . DIRECTORY_SEPARATOR . date('Y-m-d', time()); $filename = $this->generateImageName($this->getUploadedFileExt()); $response = HuaweiOBSOperator::postFile($storePath . DIRECTORY_SEPARATOR . $filename, $this->file->getContent()); return $response['ObjectURL']; } }