TASK: 1、印花生成允许使用flux
2、修改sketch\print允许修改上传的元素 3、印花生成结果中添加level2Type
This commit is contained in:
@@ -90,4 +90,19 @@ public class CollectionElement implements Serializable {
|
||||
private Long projectId;
|
||||
|
||||
private Integer isCompositeImage;
|
||||
|
||||
public CollectionElement() {
|
||||
}
|
||||
|
||||
public CollectionElement(Long accountId, String level1Type, String level2Type, String name, String url, Byte hasPin, String md5, Date createDate, Long projectId) {
|
||||
this.accountId = accountId;
|
||||
this.level1Type = level1Type;
|
||||
this.level2Type = level2Type;
|
||||
this.name = name;
|
||||
this.url = url;
|
||||
this.hasPin = hasPin;
|
||||
this.md5 = md5;
|
||||
this.createDate = createDate;
|
||||
this.projectId = projectId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,10 +107,11 @@ public class Generate {
|
||||
public Generate() {
|
||||
}
|
||||
|
||||
public Generate(Long accountId, String uniqueId, String level1Type, String text, String generateType, String modelName, Date createDate) {
|
||||
public Generate(Long accountId, String uniqueId, String level1Type, String level2Type, String text, String generateType, String modelName, Date createDate) {
|
||||
this.accountId = accountId;
|
||||
this.uniqueId = uniqueId;
|
||||
this.level1Type = level1Type;
|
||||
this.level2Type = level2Type;
|
||||
this.text = text;
|
||||
this.generateType = generateType;
|
||||
this.modelName = modelName;
|
||||
|
||||
Reference in New Issue
Block a user