求职者管理增加收藏功能、面试邀请、人才库功能开发
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
francis-fh
2026-07-16 19:34:40 +08:00
parent e4c413baad
commit 03a0f7fd29
7 changed files with 527 additions and 2 deletions

View File

@@ -28,3 +28,33 @@ export async function applyAgree(params: { id: string; hire: number }) {
data: params,
});
}
// ========== 企业人才收藏 APIs ==========
/** 获取当前企业人才收藏列表 */
export async function getHrTalentCollectList(params?: Record<string, any>) {
return request<API.Result>('/api/cms/hrTalentCollect/list', {
method: 'GET',
params: params,
});
}
/** 收藏求职者(加入人才库) */
export async function addHrTalentCollect(data: {
userId: string;
intentionLevel: string;
collectTags?: string;
sourceType: string;
}) {
return request<API.Result>('/api/cms/hrTalentCollect', {
method: 'POST',
data: data,
});
}
/** 取消收藏移出人才库路径参数为userId */
export async function delHrTalentCollect(userId: string) {
return request<API.Result>(`/api/cms/hrTalentCollect/${userId}`, {
method: 'DELETE',
});
}