From fca8a76342378c2ddb495c7be39a69ab2eed94cd Mon Sep 17 00:00:00 2001 From: chenbowen Date: Wed, 17 Sep 2025 10:50:04 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=B8=9A=E5=8A=A1=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E7=AE=A1=E7=90=86=20API=20=E6=96=B0=E5=A2=9E=E5=B8=A6=20url=20?= =?UTF-8?q?=E7=9A=84=E5=88=86=E9=A1=B5=E6=9F=A5=E8=AF=A2=E6=96=B9=E6=B3=95?= =?UTF-8?q?=20(cherry=20picked=20from=20commit=20b7f5ac24be48789ea48d79d86?= =?UTF-8?q?f11f6b01bf27f5f)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- yudao-dependencies/pom.xml | 2 +- .../dto/BusinessFileWithUrlRespDTO.java | 49 +++++++++++++++++++ 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 yudao-module-infra/yudao-module-infra-api/src/main/java/cn/iocoder/yudao/module/infra/api/businessfile/dto/BusinessFileWithUrlRespDTO.java diff --git a/pom.xml b/pom.xml index 92f87d09..5d3aaae6 100644 --- a/pom.xml +++ b/pom.xml @@ -71,7 +71,7 @@ https://github.com/YunaiV/ruoyi-vue-pro - 3.0.3 + 3.0.31 17 ${java.version} diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml index 5d353506..fc27fc71 100644 --- a/yudao-dependencies/pom.xml +++ b/yudao-dependencies/pom.xml @@ -26,7 +26,7 @@ https://github.com/YunaiV/ruoyi-vue-pro - 3.0.3 + 3.0.31 1.6.0 3.4.5 diff --git a/yudao-module-infra/yudao-module-infra-api/src/main/java/cn/iocoder/yudao/module/infra/api/businessfile/dto/BusinessFileWithUrlRespDTO.java b/yudao-module-infra/yudao-module-infra-api/src/main/java/cn/iocoder/yudao/module/infra/api/businessfile/dto/BusinessFileWithUrlRespDTO.java new file mode 100644 index 00000000..42e13723 --- /dev/null +++ b/yudao-module-infra/yudao-module-infra-api/src/main/java/cn/iocoder/yudao/module/infra/api/businessfile/dto/BusinessFileWithUrlRespDTO.java @@ -0,0 +1,49 @@ +package cn.iocoder.yudao.module.infra.api.businessfile.dto; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.NoArgsConstructor; + +/** + * 业务附件关联带URL响应 DTO + * + * @author 后台管理 + */ +@Data +@NoArgsConstructor +@AllArgsConstructor +@EqualsAndHashCode(callSuper = true) +public class BusinessFileWithUrlRespDTO extends BusinessFileRespDTO { + + /** + * 文件路径 + */ + private String filePath; + + /** + * 文件 URL + */ + private String fileUrl; + + /** + * 附件预览地址 + */ + private String previewUrl; + + /** + * 是否加密 + */ + private Boolean isEncrypted; + + /** + * 文件MIME类型 + */ + private String fileType; + + /** + * 文件大小 + */ + private Integer fileSize; + +} \ No newline at end of file