copy(web): api 标签与整理状态统一
整理记录状态改为排队中 / 整理中 / 已整理 / 部分整理 / 整理失败(列表摘要、组汇总、队列面板同口径); 下载计划「等你批准」「准备提交」;资源评估「可下载」「信息不全」「已跳过」;任务状态带「中」; 识别等待提示改匹配「TMDB 结果在后台查询」。 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
148b12f279
commit
592f40ccf8
23 files changed
+58
-59
No files matched your search
@@ -47,8 +47,7 @@ export async function fetchAllCursorPages<P extends { items: unknown[]; nextCurs
|
||||
const seen = new Set<string>();
|
||||
let cursor = first.nextCursor;
|
||||
while (cursor) {
|
||||
// copy-allow: 用词规则上线前已有,文案归其它路改
|
||||
if (seen.has(cursor)) throw new ApiRequestError("internal", "分页游标重复,请重试");
|
||||
if (seen.has(cursor)) throw new ApiRequestError("internal", "分页游标重复。重试");
|
||||
seen.add(cursor);
|
||||
const page = await fetchPage(cursor);
|
||||
items.push(...page.items);
|
||||
|
||||
Reference in new issue
Block a user