From 732ddea9dbac6192a081fe407d21e8075ea0d32e Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 06 八月 2025 18:26:29 +0800
Subject: [PATCH] feat: 更新框架

---
 src/services/api/enterprise.ts |   93 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 93 insertions(+), 0 deletions(-)

diff --git a/src/services/api/enterprise.ts b/src/services/api/enterprise.ts
index 820738d..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>(
@@ -16,3 +49,63 @@
     }
   );
 }
+
+/** 鏌ヨ浼佷笟鐭俊閰嶇疆 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', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 璁剧疆浼佷笟鐢靛瓙绛鹃厤缃� PUT /api/user/enterprise/setEnterpriseElectronSignSetting */
+export async function setEnterpriseElectronSignSetting(
+  body: API.SetEnterpriseElectronSignSettingCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/enterprise/setEnterpriseElectronSignSetting', {
+    method: 'PUT',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 璁剧疆浼佷笟鐭俊閰嶇疆 PUT /api/user/enterprise/setEnterpriseSmsSetting */
+export async function setEnterpriseSmsSetting(
+  body: API.SetEnterpriseSmsSettingCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/enterprise/setEnterpriseSmsSetting', {
+    method: 'PUT',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

--
Gitblit v1.9.1