feat(media): 作品保存恢复 - 按原任务重试交付并避免重复生成计费

This commit is contained in:
ddCat
2026-09-22 15:47:24 +08:00
parent acbb354e97
commit 48a82ded74
49 changed files with 1710 additions and 50 deletions

View File

@@ -59,6 +59,7 @@ export type ApiCallLog = {
channelName: string;
taskId?: string;
taskStatus?: TaskStatus;
mediaStage?: GenerationTask["mediaStage"];
billingOrderId?: string;
billingStatus?: BillingOrder["status"];
billingAmountMicrocredits: number;
@@ -66,7 +67,7 @@ export type ApiCallLog = {
source: string;
capability: "text" | "image" | "video" | "audio" | "";
operation?: string;
requestKind: "create" | "poll" | "download" | "repair" | "";
requestKind: "create" | "poll" | "download" | "upload" | "local_save" | "register" | "repair" | "";
billable: boolean;
apiFormat: string;
method: string;