|
@@ -8,6 +8,7 @@ import com.fdkankan.fyun.local.constant.LocalConstants;
|
|
|
import java.io.File;
|
|
|
import java.io.IOException;
|
|
|
import java.io.InputStream;
|
|
|
+import java.net.URL;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.stream.Collectors;
|
|
@@ -144,6 +145,11 @@ public class LocalFileService extends AbstractFYunFileService {
|
|
|
FileUtil.copy(getOssPath(bucket, remoteFilePath), localPath, true);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public URL getPresignedUrl(String bucket, String url) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
private String getOssPath(String bucket, String filePath) {
|
|
|
return LocalConstants.BASE_PATH.concat(bucket).concat(File.separator).concat(filePath);
|
|
|
}
|