TASK: 1、印花生成允许使用flux

2、修改sketch\print允许修改上传的元素
3、印花生成结果中添加level2Type
This commit is contained in:
2025-07-23 16:59:41 +08:00
parent 229e1353f4
commit c4d20cd522
4 changed files with 184 additions and 70 deletions

View File

@@ -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;
}
}

View File

@@ -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;