update 优化文件上传、图片上传组件 文件列表展示文件原名便于后续处理, 完善组件删除功能

This commit is contained in:
疯狂的狮子Li
2022-04-18 20:12:15 +08:00
parent fa3b642d63
commit 06b59e404c
3 changed files with 18 additions and 32 deletions

View File

@@ -75,7 +75,8 @@ public class SysOssController extends BaseController {
SysOss oss = iSysOssService.upload(file);
Map<String, String> map = new HashMap<>(2);
map.put("url", oss.getUrl());
map.put("fileName", oss.getFileName());
map.put("fileName", oss.getOriginalName());
map.put("ossId", oss.getOssId().toString());
return R.ok(map);
}