1、design single 添加 design elements
2、design single -- print添加level2Type 3、替换部分flask接口 为 fastAPI接口
This commit is contained in:
@@ -26,10 +26,10 @@ public class CollectionColorDTO {
|
||||
@ApiModelProperty("潘通RGB值")
|
||||
private String rgbValue;
|
||||
|
||||
// private Gradient gradient;
|
||||
//
|
||||
// private String gradientString;
|
||||
private Gradient gradient;
|
||||
|
||||
// private String gradientMinioUrl;
|
||||
private String gradientString;
|
||||
|
||||
private String gradientMinioUrl;
|
||||
|
||||
}
|
||||
|
||||
@@ -50,10 +50,13 @@ public class DesignSingleItemDTO implements Serializable {
|
||||
@ApiModelProperty("图层优先级")
|
||||
private Integer priority;
|
||||
|
||||
// @ApiModelProperty("渐变 颜色")
|
||||
// private Gradient gradient;
|
||||
@ApiModelProperty("渐变 颜色")
|
||||
private Gradient gradient;
|
||||
|
||||
@ApiModelProperty("画笔修改过的sketch图片的base64格式的数据")
|
||||
private String sketchString;
|
||||
|
||||
@ApiModelProperty("衣服上的装饰")
|
||||
private DesignSinglePrintDTO trims;
|
||||
|
||||
}
|
||||
|
||||
@@ -23,4 +23,9 @@ public class DesignSinglePrintDTO implements Serializable {
|
||||
|
||||
public DesignSinglePrintDTO() {
|
||||
}
|
||||
|
||||
public DesignSinglePrintDTO(Boolean ifSingle, List<DesignSinglePrint> prints) {
|
||||
this.ifSingle = ifSingle;
|
||||
this.prints = prints;
|
||||
}
|
||||
}
|
||||
@@ -46,6 +46,9 @@ public class DesignItemClothesDetailVO {
|
||||
@ApiModelProperty("print详细")
|
||||
private DesignSinglePrintDTO printObject = new DesignSinglePrintDTO();
|
||||
|
||||
@ApiModelProperty("design elements详细")
|
||||
private DesignSinglePrintDTO trims = new DesignSinglePrintDTO();
|
||||
|
||||
@ApiModelProperty("对应图层信息")
|
||||
private List<DesignPythonOutfitVO> layersObject;
|
||||
|
||||
|
||||
@@ -13,6 +13,9 @@ import java.util.List;
|
||||
@ApiModel("design single 印花详情")
|
||||
public class DesignSinglePrint implements Serializable {
|
||||
|
||||
@ApiModelProperty("印花的类型 Slogan || Logo || Pattern")
|
||||
private String level2Type;
|
||||
|
||||
@ApiModelProperty("印花是用户上传的还是从library中选的 collection/library")
|
||||
private String designType;
|
||||
|
||||
@@ -45,7 +48,8 @@ public class DesignSinglePrint implements Serializable {
|
||||
this.scale = scale;
|
||||
}
|
||||
|
||||
public DesignSinglePrint(String path, String minIOPath, List<Double> location, Double scale, Double angle, Integer priority) {
|
||||
public DesignSinglePrint(String level2Type, String path, String minIOPath, List<Double> location, Double scale, Double angle, Integer priority) {
|
||||
this.level2Type = level2Type;
|
||||
this.path = path;
|
||||
this.minIOPath = minIOPath;
|
||||
this.location = location;
|
||||
|
||||
Reference in New Issue
Block a user