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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user