From a41010b847e0bf7475f7cbb26070913b7280eb75 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 14 八月 2025 15:31:57 +0800 Subject: [PATCH] fix: 灵工管理 --- packages/services/apiV2/userResume.ts | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/packages/services/apiV2/userResume.ts b/packages/services/apiV2/userResume.ts index 6ab9057..2557cb6 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, @@ -9,6 +39,21 @@ ) { return request<number>('/api/user/userResume/deleteUserResumeCredential', { method: 'DELETE', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ寮�鏀剧畝鍘嗗垎椤靛垪琛ㄦ暟鎹� POST /api/user/userResume/getOpenUserResumes */ +export async function getOpenUserResumes( + body: API.GetOpenUserResumesQuery, + options?: API.RequestConfig +) { + return request<API.GetUserResumesQueryResult>('/api/user/userResume/getOpenUserResumes', { + method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', }, @@ -127,6 +172,18 @@ ); } +/** 鏌ヨ绠�鍘嗗垎椤靛垪琛ㄦ暟鎹� 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', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + /** 鏌ヨ鐢ㄦ埛绠�鍘�-宸ヤ綔缁忛獙 GET /api/user/userResume/getUserResumeWorkExperience */ export async function getUserResumeWorkExperience( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) -- Gitblit v1.9.1