文档库--报错处理

This commit is contained in:
zhn
2022-03-23 22:43:50 +08:00
parent 48a9f4c7a4
commit b0435e95f6
2 changed files with 13 additions and 2 deletions
@@ -3423,7 +3423,7 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
MultipartFile multipartFile =
new MockMultipartFile(nowFileList.get(0).getName(), nowFileList.get(0).getName(), "text/plain", input);
//文件存入文件表
OSSFile ossFile = iOSSFileService.uploadLocal(multipartFile, "");
OSSFile ossFile = iOSSFileService.uploadLocal(multipartFile, "",null);
if (ObjectUtils.isNotEmpty(ossFile)) {
sb.append(ossFile.getId() + ",");
}