1、generate 异步生成及获取排队情况

2、generate 取消生成
This commit is contained in:
2024-01-21 14:14:55 +08:00
parent c31ecfb1e9
commit 577dc94850
21 changed files with 929 additions and 36 deletions

View File

@@ -24,4 +24,13 @@ public interface GenerateService extends IService<Generate> {
void updateLikeStatusBatch(List<Long> generateDetailIdList, Byte hasLike, Long libraryId, String timeZone);
List<GenerateDetail> selectBatchByLibraryId(List<Long> libraryId);
GenerateCollectionVO getGenerateResult(Long uniqueId);
Long prepareForGenerate(GenerateThroughImageTextDTO generateThroughImageTextDTO);
Long getRankPosition(Long uniqueId);
void cancelGenerate(Long uniqueId);
}