|
@ -42,7 +42,7 @@ public class FastDFSCloudStorageService extends AbstractCloudStorageService { |
|
|
public String upload(InputStream inputStream, String suffix) { |
|
|
public String upload(InputStream inputStream, String suffix) { |
|
|
StorePath storePath; |
|
|
StorePath storePath; |
|
|
try { |
|
|
try { |
|
|
storePath = defaultGenerateStorageClient.uploadFile("epdc-pic", inputStream, inputStream.available(), suffix); |
|
|
storePath = defaultGenerateStorageClient.uploadFile("epdcFile", inputStream, inputStream.available(), suffix); |
|
|
} catch (Exception ex) { |
|
|
} catch (Exception ex) { |
|
|
throw new RenException(ModuleErrorCode.OSS_UPLOAD_FILE_ERROR, ex, ex.getMessage()); |
|
|
throw new RenException(ModuleErrorCode.OSS_UPLOAD_FILE_ERROR, ex, ex.getMessage()); |
|
|
} |
|
|
} |
|
|