|
|
@ -67,13 +67,13 @@ public class AliyunCloudStorageService extends AbstractCloudStorageService { |
|
|
|
@Override |
|
|
|
public String uploadSuffix(byte[] data, String suffix, String privacyType) { |
|
|
|
CloudStorageConfig.AliyunCloudStorageConfigProps props = getPropsByprivacyType(privacyType); |
|
|
|
return upload(data, getPath(props.getAliyunPrefix(), suffix), privacyType); |
|
|
|
return upload(data, getPath(props.getAliyunPrefix(), suffix, privacyType), privacyType); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String uploadSuffix(InputStream inputStream, String suffix, String privacyType) { |
|
|
|
CloudStorageConfig.AliyunCloudStorageConfigProps props = getPropsByprivacyType(privacyType); |
|
|
|
return upload(inputStream, getPath(props.getAliyunPrefix(), suffix), privacyType); |
|
|
|
return upload(inputStream, getPath(props.getAliyunPrefix(), suffix, privacyType), privacyType); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|