切换用户sketch点赞记录存储方式;新增镜像和角度字段,存储前端需要的object
This commit is contained in:
@@ -2869,7 +2869,9 @@ public class PythonService {
|
||||
designSingleItem.getPriority(),
|
||||
minioPath,
|
||||
gradientString,
|
||||
designSingleItem.getMaskUrl()
|
||||
designSingleItem.getMaskUrl(),
|
||||
designSingleItem.getTranspose(),
|
||||
designSingleItem.getRotate()
|
||||
));
|
||||
|
||||
});
|
||||
|
||||
@@ -87,6 +87,16 @@ public class DesignPythonItem {
|
||||
*/
|
||||
private String seg_mask_url;
|
||||
|
||||
/**
|
||||
* 镜像模式
|
||||
*/
|
||||
private int[] transpose;
|
||||
|
||||
/**
|
||||
* 旋转角度
|
||||
*/
|
||||
private double rotate;
|
||||
|
||||
public static List<String> OUTWEAR_DRESS_BLOUSE = Arrays.asList(CollectionLevel2TypeEnum.OUTWEAR.getRealName(),
|
||||
CollectionLevel2TypeEnum.DRESS.getRealName(), CollectionLevel2TypeEnum.BLOUSE.getRealName());
|
||||
|
||||
@@ -143,7 +153,7 @@ public class DesignPythonItem {
|
||||
|
||||
public DesignPythonItem(String type, String path, String color, PrintToPython print, Long businessId,
|
||||
Long image_id, List<Long> offset, Float[] resize_scale, Integer priority, String gradient,
|
||||
String gradientString, String seg_mask_url) {
|
||||
String gradientString, String seg_mask_url, int[] transpose, double rotate) {
|
||||
this.type = type;
|
||||
this.path = path;
|
||||
this.color = color;
|
||||
@@ -157,6 +167,8 @@ public class DesignPythonItem {
|
||||
this.gradient = gradient;
|
||||
this.gradientString = gradientString;
|
||||
this.seg_mask_url = seg_mask_url;
|
||||
this.transpose = transpose;
|
||||
this.rotate = rotate;
|
||||
}
|
||||
|
||||
public DesignPythonItem(String type, String path, String color, PrintToPython print, String icon, Long businessId, Long image_id) {
|
||||
|
||||
Reference in New Issue
Block a user