From 3950f3c86967c977ad8c47894ff5b6ada4dfe3b9 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 23 八月 2022 18:34:42 +0800 Subject: [PATCH] fix 修复 文件/图片上传组件 第一次上传报错导致后续上传无限loading问题 --- ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOssService.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOssService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOssService.java index b444e6d..f02ea3d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOssService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOssService.java @@ -8,6 +8,7 @@ import org.springframework.web.multipart.MultipartFile; import java.util.Collection; +import java.util.List; /** * 鏂囦欢涓婁紶 鏈嶅姟灞� @@ -18,7 +19,9 @@ TableDataInfo<SysOssVo> queryPageList(SysOssBo sysOss, PageQuery pageQuery); - SysOss getById(Long ossId); + List<SysOssVo> listByIds(Collection<Long> ossIds); + + SysOssVo getById(Long ossId); SysOss upload(MultipartFile file); -- Gitblit v1.9.3