文件上传接口修改
This commit is contained in:
parent
aee826b9a6
commit
9ffd1cb932
|
|
@ -63,6 +63,7 @@ public class UploadController {
|
|||
String pathname = targetFile.getAbsolutePath();
|
||||
ar.setSucceedMsg("文件上传成功");
|
||||
ar.setSucceed(pathname);
|
||||
ar.setMessage(file.getOriginalFilename());
|
||||
} catch (Exception e) {
|
||||
log.error(e.toString(), e);
|
||||
ar.setFailMsg("文件上传失败");
|
||||
|
|
|
|||
Loading…
Reference in New Issue