From 4ef86d8a1f494caa1e136ff78f9ea258d01164b1 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 16 十月 2025 09:28:44 +0800 Subject: [PATCH] Merge branch 'master' into dev-1.1.2 --- packages/services/apiV2/enterpriseEmployee.ts | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/packages/services/apiV2/enterpriseEmployee.ts b/packages/services/apiV2/enterpriseEmployee.ts index dbf7f68..286ed8a 100644 --- a/packages/services/apiV2/enterpriseEmployee.ts +++ b/packages/services/apiV2/enterpriseEmployee.ts @@ -130,7 +130,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 +158,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