oss文件转化成流
public InputStream getObjectStream(String key) { OSSObject object = client.getObject(new GetObjectRequest(properties.getAliOssBucketName(), key)); InputStream inputStream = object.getObjectContent(); return inputStream; }
可以将oss的地址转成流进行操作
本文来自博客园,作者:King-DA,转载请注明原文链接:https://www.cnblogs.com/qingmuchuanqi48/articles/13854507.html