feat(fulfillment): 增加取消恢复与操作人审计

This commit is contained in:
yml
2026-11-18 21:40:25 +08:00
parent 7a11be3885
commit e90e93d515
9 changed files with 424 additions and 7 deletions
@@ -108,4 +108,9 @@ export const platformFulfillmentApi = {
`/platform-fulfillment/tasks/${taskId}/cancel`,
{ reason },
),
restore: (taskId: number, reason: string) =>
api.post<PlatformFulfillmentDetail, PlatformFulfillmentDetail>(
`/platform-fulfillment/tasks/${taskId}/restore`,
{ reason },
),
};
+3
View File
@@ -2229,6 +2229,9 @@ export interface PlatformFulfillmentEvent {
eventType: string;
actorType: string;
actorId: string;
actorName: string;
actorRole: string;
actorRoleLabel: string;
detail: Record<string, unknown>;
createdAt: string;
}