feat(image): add image upload functionality

- Created FileUploadResponse DTO for image upload responses
- Implemented ImageController with upload endpoint
- Defined ImageService interface for image operations
- Added ImageServiceImpl with placeholder upload logic
- Updated pom.xml to include chaos_api_domain dependency
This commit is contained in:
Chaos
2025-11-14 23:22:11 +08:00
parent 2f946ec596
commit da1bdafbb2
9 changed files with 148 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
package cn.nopj.chaos_api.dto;
import lombok.Data;
@Data
public class FileUploadResponse {
private String fileName;
private String fileDownloadUri;
private String ossBucket;
private String fileOSSUri;
private String fileType;
private long size;
}