解决下载和页面分页问题

This commit is contained in:
2025-08-21 19:01:35 +08:00
parent beeaf4055d
commit 4d0f045de5
5 changed files with 496 additions and 46 deletions
+3
View File
@@ -774,6 +774,9 @@ class DownloadService {
allArtworks.push(...artworks);
offset += artworks.length;
// 基于 next_url 判断是否还有更多页面
hasMore = !!artworksResult.data.next_url;
// 添加延迟避免请求过于频繁
await new Promise(resolve => setTimeout(resolve, 500));
}