refactor: 收紧附件上传接口

This commit is contained in:
zhiye.sun
2026-05-19 16:21:10 +08:00
committed by bruce
parent 067b098aa1
commit 603c006c49
5 changed files with 45 additions and 21 deletions

View File

@@ -0,0 +1,19 @@
package com.bruce.common.dto.request;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;
@Data
@Schema(description = "附件上传请求")
public class SysAttachmentUploadRequest {
@Schema(description = "上传文件")
private MultipartFile file;
@Schema(description = "来源类型")
private String sourceType;
@Schema(description = "来源业务ID")
private Long sourceId;
}