This commit is contained in:
BianLzhaoMin 2025-02-25 18:07:50 +08:00
commit f9a80f8414
1 changed files with 1 additions and 0 deletions

View File

@ -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("文件上传失败");