From d3d8fde64c4df263fd696f1599cb79fe9efb7623 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 29 八月 2025 15:22:20 +0800 Subject: [PATCH] feat: 签约 --- src/services/api/enterpriseEmployee.ts | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/src/services/api/enterpriseEmployee.ts b/src/services/api/enterpriseEmployee.ts index 41ba82d..dbf7f68 100644 --- a/src/services/api/enterpriseEmployee.ts +++ b/src/services/api/enterpriseEmployee.ts @@ -17,6 +17,24 @@ }); } +/** 浼佷笟鐢ㄦ埛绛剧害 POST /api/user/enterpriseEmployee/enterpriseUserElectronSign */ +export async function enterpriseUserElectronSign( + body: API.EnterpriseUserElectronSignCommand, + options?: API.RequestConfig +) { + return request<API.EnterpriseUserElectronSignCommandResult>( + '/api/user/enterpriseEmployee/enterpriseUserElectronSign', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 鏌ヨ鐏靛伐璇︽儏 GET /api/user/enterpriseEmployee/getEnterpriseEmployee */ export async function getEnterpriseEmployee( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -121,3 +139,36 @@ ...(options || {}), }); } + +/** 涓汉鐢ㄦ埛绛剧害 POST /api/user/enterpriseEmployee/personalUserElectronSign */ +export async function personalUserElectronSign( + body: API.PersonalUserElectronSignCommand, + options?: API.RequestConfig +) { + return request<API.PersonalUserElectronSignCommandResult>( + '/api/user/enterpriseEmployee/personalUserElectronSign', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鐏靛伐瑙g害 POST /api/user/enterpriseEmployee/stopElectronSign */ +export async function stopElectronSign( + body: API.StopElectronSignCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/enterpriseEmployee/stopElectronSign', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} -- Gitblit v1.9.1