--新增书评接口,端口修改
This commit is contained in:
@@ -27,6 +27,7 @@ public class OssServiceImpl implements OssService {
|
||||
// 创建OSS实例。
|
||||
OSS ossClient = new OSSClientBuilder().build(endpoint, accessKeyId, accessKeySecret);
|
||||
|
||||
|
||||
//获取上传文件输入流
|
||||
InputStream inputStream = file.getInputStream();
|
||||
//获取文件名称
|
||||
|
||||
Reference in New Issue
Block a user