From a9b89995a6700e05e7152742ff4e4961064910e6 Mon Sep 17 00:00:00 2001 From: MAC <1162714483@qq.com> Date: Fri, 6 May 2022 20:39:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=9E=E6=94=B6=E7=AB=99):=20=E5=9B=9E?= =?UTF-8?q?=E6=94=B6=E7=AB=99=E6=96=87=E4=BB=B6=E5=88=97=E8=A1=A8=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/qiwenshare/file/vo/file/RecoveryFileListVo.java | 2 ++ src/main/resources/mapper/RecoveryFileMapper.xml | 1 + 2 files changed, 3 insertions(+) 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