diff --git a/src/main/java/com/qiwenshare/file/vo/file/RecoveryFileListVo.java b/src/main/java/com/qiwenshare/file/vo/file/RecoveryFileListVo.java index f525089..d51b74a 100644 --- a/src/main/java/com/qiwenshare/file/vo/file/RecoveryFileListVo.java +++ b/src/main/java/com/qiwenshare/file/vo/file/RecoveryFileListVo.java @@ -18,6 +18,8 @@ public class RecoveryFileListVo { private String fileName; @Schema(description = "文件路径", example = "upload/bddd/caaa") private String filePath; + @Schema(description = "文件大小", example = "1024") + private long fileSize; @Schema(description = "文件扩展名", example = "zip") private String extendName; @Schema(description = "是否是目录,1-是,0-否", example = "1") diff --git a/src/main/resources/mapper/RecoveryFileMapper.xml b/src/main/resources/mapper/RecoveryFileMapper.xml index 9a496aa..5ef1cb3 100644 --- a/src/main/resources/mapper/RecoveryFileMapper.xml +++ b/src/main/resources/mapper/RecoveryFileMapper.xml @@ -9,6 +9,7 @@ \ No newline at end of file