diff --git a/hsweb-thirdparty/hsweb-thirdparty-ueditor/src/main/java/org/hswebframework/web/thirdpart/ueditor/UeditorController.java b/hsweb-thirdparty/hsweb-thirdparty-ueditor/src/main/java/org/hswebframework/web/thirdpart/ueditor/UeditorController.java index d50b0f6ca..404a0a711 100644 --- a/hsweb-thirdparty/hsweb-thirdparty-ueditor/src/main/java/org/hswebframework/web/thirdpart/ueditor/UeditorController.java +++ b/hsweb-thirdparty/hsweb-thirdparty-ueditor/src/main/java/org/hswebframework/web/thirdpart/ueditor/UeditorController.java @@ -85,10 +85,10 @@ public String upload(@RequestParam(value = "upfile", required = false) Multipart String path = fileService.saveStaticFile(file.getInputStream(), System.currentTimeMillis() + suffix); State state = new BaseState(true); state.putInfo("size", file.getSize()); - state.putInfo("title", file.getOriginalFilename()); + state.putInfo("title",fileName); state.putInfo("url", path); state.putInfo("type", suffix); - state.putInfo("original", file.getOriginalFilename()); + state.putInfo("original",fileName); return state.toJSONString(); }