feat(fulfillment): 支持手动同步斗鱼外部单协作
This commit is contained in:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user