This commit is contained in:
2024-12-17 15:27:29 +08:00
parent b3b7590775
commit b88c070ec7
8 changed files with 49 additions and 2 deletions

View File

@ -29,6 +29,7 @@ public class GoodsPageVO {
private Integer sourceType;
@ApiModelProperty("商品vlogid goodsType为1时才有值")
private Long goodsId;
private String templateName;
@ApiModelProperty("模版封面图片")
private String templateCoverUrl;
}

View File

@ -52,4 +52,5 @@ public class SourceEntity {
private Integer isBuy;
private Date createTime;
private Date updateTime;
private String posJson;
}

View File

@ -0,0 +1,26 @@
package com.ycwl.basic.model.viid.entity;
import lombok.Data;
@Data
public class FacePositionObject {
private Integer imgWidth;
private Integer imgHeight;
private Integer ltX;
private Integer ltY;
private Integer rbX;
private Integer rbY;
public Integer getWidth(){
return rbX - ltX;
}
public Integer getHeight(){
return rbY - ltY;
}
public Integer centerX(){
return (ltX + rbX) / 2;
}
public Integer centerY(){
return (ltY + rbY) / 2;
}
}

View File

@ -18,9 +18,9 @@ public class SubImageInfoObject {
@JsonProperty("FileFormat")
private String FileFormat;
@JsonProperty("Width")
private String Width;
private Integer Width;
@JsonProperty("Height")
private String Height;
private Integer Height;
@JsonProperty("ShotTime")
private String ShotTime;
@JsonProperty("Data")