qirong
2023-11-22 6ff94b7813f1e51a0dc74f1ea8386c0f008f5e57
ruoyi-common/ruoyi-common-oss/src/main/java/org/dromara/common/oss/core/OssClient.java
@@ -141,6 +141,10 @@
        return upload(data, getPath(properties.getPrefix(), suffix), contentType);
    }
    public UploadResult uploadSuffix2(byte[] data, String path, String contentType) {
        return upload(data, path, contentType);
    }
    public UploadResult uploadSuffix(InputStream inputStream, String suffix, String contentType) {
        return upload(inputStream, getPath(properties.getPrefix(), suffix), contentType);
    }