fix(fulfillment): 对齐客户确认状态并展示角色接口日志

- 客户页 bindReadyForConfirm 与平台任务 role_ready 对齐
- 详情返回 douyu_role_api_logs 最近 40 条
- 详情页增加角色接口日志诊断表
- 补充客户确认、日志读取回归测试
- 文档记录 11.22 成功 HAR 与角色日志时间线
This commit is contained in:
yml
2026-11-24 15:03:35 +08:00
parent 47be8646bf
commit 9c8ef3d497
5 changed files with 198 additions and 1 deletions
+22
View File
@@ -2594,9 +2594,31 @@ export interface PlatformFulfillmentEvent {
createdAt: string;
}
export interface PlatformFulfillmentBindingLog {
id: number;
taskId: number | null;
stage: string;
source: string;
actAlias: string;
apiVersion: string;
roleName: string;
areaName: string;
platName: string;
bindAct: boolean;
bindRole: boolean;
needBindAct: boolean;
needBindRole: boolean;
changeRoleWaitTime: number | null;
canChangeTime: number | null;
error: unknown;
message: string;
createdAt: string;
}
export interface PlatformFulfillmentDetail {
task: PlatformFulfillmentTask;
events: PlatformFulfillmentEvent[];
bindingLogs?: PlatformFulfillmentBindingLog[];
}
export interface PlatformFulfillmentAllocationResult extends PlatformFulfillmentDetail {