From 5ceeed41b099bd638075c6fa284241d545037573 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 07 八月 2025 09:41:24 +0800 Subject: [PATCH] feat: 企业 --- src/services/api/enterprise.ts | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/src/services/api/enterprise.ts b/src/services/api/enterprise.ts index bfba64e..084e76e 100644 --- a/src/services/api/enterprise.ts +++ b/src/services/api/enterprise.ts @@ -2,6 +2,39 @@ // @ts-ignore import { request } from '@/utils/request'; +/** 鏌ヨ浼佷笟璇︽儏 GET /api/user/enterprise/getEnterprise */ +export async function getEnterprise( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetEnterpriseParams, + options?: API.RequestConfig +) { + return request<API.GetEnterpriseQueryResult>('/api/user/enterprise/getEnterprise', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 鏌ヨ浼佷笟鐢靛瓙绛鹃厤缃� GET /api/user/enterprise/getEnterpriseElectronSignSetting */ +export async function getEnterpriseElectronSignSetting( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetEnterpriseElectronSignSettingParams, + options?: API.RequestConfig +) { + return request<API.GetEnterpriseElectronSignSettingQueryResult>( + '/api/user/enterprise/getEnterpriseElectronSignSetting', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + } + ); +} + /** 鏌ヨ浼佷笟淇℃伅鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/enterprise/getEnterprises */ export async function getEnterprises(body: API.GetEnterprisesQuery, options?: API.RequestConfig) { return request<API.PagedListQueryResultGetEnterprisesQueryResultItem>( @@ -17,6 +50,24 @@ ); } +/** 鏌ヨ浼佷笟鐭俊閰嶇疆 GET /api/user/enterprise/getEnterpriseSmsSetting */ +export async function getEnterpriseSmsSetting( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetEnterpriseSmsSettingParams, + options?: API.RequestConfig +) { + return request<API.GetEnterpriseSmsSettingQueryResult>( + '/api/user/enterprise/getEnterpriseSmsSetting', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + } + ); +} + /** 淇濆瓨浼佷笟 POST /api/user/enterprise/saveEnterprise */ export async function saveEnterprise(body: API.SaveEnterpriseCommand, options?: API.RequestConfig) { return request<string>('/api/user/enterprise/saveEnterprise', { -- Gitblit v1.9.1