From c2463c02a17f92df55ec77ed2da3fb724290c072 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 20 十月 2025 17:34:30 +0800 Subject: [PATCH] fix: bug --- packages/services/apiV2/enterpriseEmployee.ts | 37 +++++++++++++++++++++++++++++++++++-- 1 files changed, 35 insertions(+), 2 deletions(-) diff --git a/packages/services/apiV2/enterpriseEmployee.ts b/packages/services/apiV2/enterpriseEmployee.ts index dbf7f68..622e474 100644 --- a/packages/services/apiV2/enterpriseEmployee.ts +++ b/packages/services/apiV2/enterpriseEmployee.ts @@ -2,6 +2,24 @@ // @ts-ignore import { request } from '@/utils/request'; +/** 浼佷笟鎵归噺绛剧害鍚堝悓 POST /api/user/enterpriseEmployee/batchEnterpriseSignContract */ +export async function batchEnterpriseSignContract( + body: API.BatchEnterpriseSignContractCommand, + options?: API.RequestConfig +) { + return request<API.BatchEnterpriseSignContractCommandResult>( + '/api/user/enterpriseEmployee/batchEnterpriseSignContract', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 缂栬緫鐏靛伐淇℃伅 POST /api/user/enterpriseEmployee/editEnterpriseEmployee */ export async function editEnterpriseEmployee( body: API.EditEnterpriseEmployeeCommand, @@ -130,7 +148,7 @@ body: API.InviteElectronSignCommand, options?: API.RequestConfig ) { - return request<string>('/api/user/enterpriseEmployee/inviteElectronSign', { + return request<number>('/api/user/enterpriseEmployee/inviteElectronSign', { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', @@ -158,12 +176,27 @@ ); } +/** 鍙戦�侀個璇风绾︾煭淇� POST /api/user/enterpriseEmployee/sendInviteElectronSignSms */ +export async function sendInviteElectronSignSms( + body: API.SendInviteElectronSignSmsCommand, + options?: API.RequestConfig +) { + return request<number>('/api/user/enterpriseEmployee/sendInviteElectronSignSms', { + 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', { + return request<number>('/api/user/enterpriseEmployee/stopElectronSign', { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', -- Gitblit v1.9.1