1、generate 异步生成及获取排队情况
2、generate 取消生成
This commit is contained in:
@@ -19,6 +19,13 @@ public class GenerateCollectionVO {
|
||||
@ApiModelProperty("生成的图片信息")
|
||||
private List<GenerateCollectionItemVO> generatedCollectionItems;
|
||||
|
||||
@ApiModelProperty("在当前队列中的排序")
|
||||
private Long rankPosition;
|
||||
|
||||
public GenerateCollectionVO(Long rankPosition) {
|
||||
this.rankPosition = rankPosition;
|
||||
}
|
||||
|
||||
public GenerateCollectionVO(Long generateId, Long collectionId, List<GenerateCollectionItemVO> generatedCollectionItems) {
|
||||
this.generateId = generateId;
|
||||
this.collectionId = collectionId;
|
||||
|
||||
Reference in New Issue
Block a user