fix minio Prefix 空问题

This commit is contained in:
疯狂的狮子li 2021-08-25 10:03:39 +08:00
parent fc98a260d6
commit 1cd64a1c4e

View File

@ -95,7 +95,7 @@ public class MinioCloudStorageStrategy extends AbstractCloudStorageStrategy {
@Override
public UploadResult uploadSuffix(byte[] data, String suffix, String contentType) {
return upload(data, getPath("", suffix), contentType);
return upload(data, getPath(properties.getPrefix(), suffix), contentType);
}
@Override