From eabc398d45d13a3c94034ca461f488d7b9e525eb Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 25 八月 2025 09:39:15 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp --- packages/services/apiV2/enterpriseEmployee.ts | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 55 insertions(+), 1 deletions(-) diff --git a/packages/services/apiV2/enterpriseEmployee.ts b/packages/services/apiV2/enterpriseEmployee.ts index cb2c49a..41ba82d 100644 --- a/packages/services/apiV2/enterpriseEmployee.ts +++ b/packages/services/apiV2/enterpriseEmployee.ts @@ -53,12 +53,66 @@ ); } +/** 鏌ヨ涓汉鐢ㄦ埛绛剧害璇︽儏 GET /api/user/enterpriseEmployee/getPersonalUserElectronSign */ +export async function getPersonalUserElectronSign( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetPersonalUserElectronSignParams, + options?: API.RequestConfig +) { + return request<API.GetPersonalUserElectronSignQueryResult>( + '/api/user/enterpriseEmployee/getPersonalUserElectronSign', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + } + ); +} + +/** 鏌ヨ涓汉鐢ㄦ埛绛剧害鍒楄〃 POST /api/user/enterpriseEmployee/getPersonalUserElectronSigns */ +export async function getPersonalUserElectronSigns( + body: API.GetPersonalUserElectronSignsQuery, + options?: API.RequestConfig +) { + return request<API.GetPersonalUserElectronSignsQueryResult>( + '/api/user/enterpriseEmployee/getPersonalUserElectronSigns', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 瀵煎叆鐏靛伐淇℃伅 POST /api/user/enterpriseEmployee/importEnterpriseEmployees */ export async function importEnterpriseEmployees( body: API.ImportEnterpriseEmployeesCommand, options?: API.RequestConfig ) { - return request<number>('/api/user/enterpriseEmployee/importEnterpriseEmployees', { + return request<API.ImportEnterpriseEmployeesCommandResult>( + '/api/user/enterpriseEmployee/importEnterpriseEmployees', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 閭�璇风伒宸ョ绾� POST /api/user/enterpriseEmployee/inviteElectronSign */ +export async function inviteElectronSign( + body: API.InviteElectronSignCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/enterpriseEmployee/inviteElectronSign', { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', -- Gitblit v1.9.1