TASK: 拼贴功能保存用户上传的图片并返回
This commit is contained in:
@@ -19,9 +19,15 @@ public class CollectionElementUploadDTO {
|
||||
@NotNull(message = "file.cannot.be.empty")
|
||||
private MultipartFile file;
|
||||
|
||||
@ApiModelProperty("项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty("一级类型")
|
||||
private String level1Type;
|
||||
|
||||
@ApiModelProperty("二级类型")
|
||||
private String level2Type;
|
||||
|
||||
@ApiModelProperty("性别")
|
||||
private String gender;
|
||||
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
package com.ai.da.model.vo;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.ai.da.mapper.primary.entity.CollectionElement;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class SketchReconstructionVO {
|
||||
|
||||
@@ -14,4 +16,6 @@ public class SketchReconstructionVO {
|
||||
|
||||
private String categoryValue;
|
||||
|
||||
private List<CollectionElement> uploadImages;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user