feat(fulfillment): 支持手动同步斗鱼外部单协作

This commit is contained in:
yml
2026-11-18 21:02:11 +08:00
parent 631862217d
commit c2d47b98ab
15 changed files with 912 additions and 3 deletions
@@ -1,6 +1,7 @@
import api from './client';
import type {
PlatformFulfillmentDetail,
PlatformFulfillmentCollabSyncResult,
PlatformFulfillmentListResponse,
PlatformFulfillmentMapping,
PlatformFulfillmentSettings,
@@ -38,6 +39,11 @@ export const platformFulfillmentApi = {
null,
{ params: { limit } },
),
syncCollab: (taskIds: number[]) =>
api.post<PlatformFulfillmentCollabSyncResult, PlatformFulfillmentCollabSyncResult>(
'/platform-fulfillment/tasks/sync-collab',
{ task_ids: taskIds },
),
getTask: (taskId: number) =>
api.get<PlatformFulfillmentDetail, PlatformFulfillmentDetail>(
`/platform-fulfillment/tasks/${taskId}`,