From 6e2f19df7ba33fcfea0af7c2c529c68414c101fb Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 14 八月 2025 10:32:14 +0800 Subject: [PATCH] feat: 接口对接 --- packages/services/apiV2/userResume.ts | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 insertions(+), 1 deletions(-) diff --git a/packages/services/apiV2/userResume.ts b/packages/services/apiV2/userResume.ts index e708586..8edd703 100644 --- a/packages/services/apiV2/userResume.ts +++ b/packages/services/apiV2/userResume.ts @@ -2,6 +2,36 @@ // @ts-ignore import { request } from '@/utils/request'; +/** 鏀惰棌鐏靛伐 POST /api/user/userResume/collectUserResume */ +export async function collectUserResume( + body: API.CollectUserResumeCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/userResume/collectUserResume', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鑱旂郴鐏靛伐 POST /api/user/userResume/contactUserResume */ +export async function contactUserResume( + body: API.ContactUserResumeCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/userResume/contactUserResume', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + /** 鍒犻櫎鐢ㄦ埛绠�鍘�-璧勬牸璇佷功 DELETE /api/user/userResume/deleteUserResumeCredential */ export async function deleteUserResumeCredential( body: API.DeleteUserResumeCredentialCommand, @@ -127,7 +157,7 @@ ); } -/** 鏌ヨ鐏靛伐鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/userResume/getUserResumes */ +/** 鏌ヨ绠�鍘嗗垎椤靛垪琛ㄦ暟鎹� POST /api/user/userResume/getUserResumes */ export async function getUserResumes(body: API.GetUserResumesQuery, options?: API.RequestConfig) { return request<API.GetUserResumesQueryResult>('/api/user/userResume/getUserResumes', { method: 'POST', -- Gitblit v1.9.1