You've already forked FrameTour-BE
修改
This commit is contained in:
@ -29,6 +29,7 @@ public class GoodsPageVO {
|
||||
private Integer sourceType;
|
||||
@ApiModelProperty("商品(vlog)id goodsType为1时才有值")
|
||||
private Long goodsId;
|
||||
private String templateName;
|
||||
@ApiModelProperty("模版封面图片")
|
||||
private String templateCoverUrl;
|
||||
}
|
||||
|
@ -52,4 +52,5 @@ public class SourceEntity {
|
||||
private Integer isBuy;
|
||||
private Date createTime;
|
||||
private Date updateTime;
|
||||
private String posJson;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -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")
|
||||
|
Reference in New Issue
Block a user