简历集成、简历预览、简历编辑、修改密码等功能开发
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
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:
@@ -15,3 +15,49 @@ export async function getAppUserList(
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户完整简历信息(个人信息+教育+培训+工作经历+技能)
|
||||
* GET /cms/appUser/resume/{userId}
|
||||
*/
|
||||
export async function getAppUserResume(userId: number) {
|
||||
return request<API.CmsAppUser.ResumeResult>(`/api/cms/appUser/resume/${userId}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改用户身份证号
|
||||
* POST /cms/appUser/updateIdCard
|
||||
*/
|
||||
export async function updateIdCard(data: { userId: number; idCard: string }) {
|
||||
return request('/api/cms/appUser/updateIdCard', {
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改简历公开/保密状态
|
||||
* POST /cms/appUser/changeResumeStatus
|
||||
*/
|
||||
export async function changeResumeStatus(data: {
|
||||
userId: number;
|
||||
resumeStatus: string;
|
||||
}) {
|
||||
return request('/api/cms/appUser/changeResumeStatus', {
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 重置用户密码
|
||||
* POST /cms/appUser/resetPassword
|
||||
*/
|
||||
export async function resetPassword(data: { userId: number; password: string }) {
|
||||
return request('/api/cms/appUser/resetPassword', {
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user