wupengfei
3 天以前 ea99caed5d6eb9ee93256f8bee0ebefeebdeb40e
packages/services/apiV2/taskUser.ts
@@ -14,6 +14,21 @@
  });
}
/** 清空已停止的任务收藏 DELETE /api/flexjob/taskUser/clearTaskCollect */
export async function clearTaskCollect(
  body: API.ClearTaskCollectCommand,
  options?: API.RequestConfig
) {
  return request<number>('/api/flexjob/taskUser/clearTaskCollect', {
    method: 'DELETE',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 收藏任务 POST /api/flexjob/taskUser/collectTask */
export async function collectTask(body: API.CollectTaskCommand, options?: API.RequestConfig) {
  return request<number>('/api/flexjob/taskUser/collectTask', {