From 63077f4663c259dfa3614d8564b14827c443a4e7 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 31 十月 2025 15:29:59 +0800
Subject: [PATCH] fix: bug

---
 packages/services/apiV2/enterprise.ts |  152 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 152 insertions(+), 0 deletions(-)

diff --git a/packages/services/apiV2/enterprise.ts b/packages/services/apiV2/enterprise.ts
index bfba64e..1878577 100644
--- a/packages/services/apiV2/enterprise.ts
+++ b/packages/services/apiV2/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,95 @@
   );
 }
 
+/** 鏌ヨ浼佷笟鐭俊閰嶇疆 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 || {}),
+    }
+  );
+}
+
+/** 鏌ヨ瀹㈡埛璇︽儏锛堢敳鏂逛紒涓氾級 GET /api/user/enterprise/getPartyAEnterprise */
+export async function getPartyAEnterprise(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetPartyAEnterpriseParams,
+  options?: API.RequestConfig
+) {
+  return request<API.GetPartyAEnterpriseQueryResult>('/api/user/enterprise/getPartyAEnterprise', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 鏌ヨ瀹㈡埛绠$悊锛堢敳鏂瑰鎴凤級 POST /api/user/enterprise/getPartyAEnterprises */
+export async function getPartyAEnterprises(
+  body: API.GetPartyAEnterprisesQuery,
+  options?: API.RequestConfig
+) {
+  return request<API.PagedListQueryResultGetPartyAEnterprisesQueryResultItem>(
+    '/api/user/enterprise/getPartyAEnterprises',
+    {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json-patch+json',
+      },
+      data: body,
+      ...(options || {}),
+    }
+  );
+}
+
+/** 鏌ヨ渚涘簲鍟嗙鐞� POST /api/user/enterprise/getSupplierEnterprises */
+export async function getSupplierEnterprises(
+  body: API.GetSupplierEnterprisesQuery,
+  options?: API.RequestConfig
+) {
+  return request<API.PagedListQueryResultGetSupplierEnterprisesQueryResultItem>(
+    '/api/user/enterprise/getSupplierEnterprises',
+    {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json-patch+json',
+      },
+      data: body,
+      ...(options || {}),
+    }
+  );
+}
+
+/** 鏌ヨ渚涘簲鍟嗛�夋嫨鍣ㄦ暟鎹� GET /api/user/enterprise/getSupplierEnterpriseSelect */
+export async function getSupplierEnterpriseSelect(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetSupplierEnterpriseSelectParams,
+  options?: API.RequestConfig
+) {
+  return request<API.SelectOptionGuidGetSupplierEnterpriseSelectQueryOption[]>(
+    '/api/user/enterprise/getSupplierEnterpriseSelect',
+    {
+      method: 'GET',
+      params: {
+        ...params,
+        request: undefined,
+        ...params['request'],
+      },
+      ...(options || {}),
+    }
+  );
+}
+
 /** 淇濆瓨浼佷笟 POST /api/user/enterprise/saveEnterprise */
 export async function saveEnterprise(body: API.SaveEnterpriseCommand, options?: API.RequestConfig) {
   return request<string>('/api/user/enterprise/saveEnterprise', {
@@ -29,6 +151,36 @@
   });
 }
 
+/** 淇濆瓨浼佷笟璐圭敤 POST /api/user/enterprise/saveEnterpriseCost */
+export async function saveEnterpriseCost(
+  body: API.SaveEnterpriseCostCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/enterprise/saveEnterpriseCost', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 娣诲姞瀹㈡埛浼佷笟锛堢敳鏂逛紒涓氾級 POST /api/user/enterprise/savePartyAEnterprise */
+export async function savePartyAEnterprise(
+  body: API.SavePartyAEnterpriseCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/enterprise/savePartyAEnterprise', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 璁剧疆浼佷笟鐢靛瓙绛鹃厤缃� PUT /api/user/enterprise/setEnterpriseElectronSignSetting */
 export async function setEnterpriseElectronSignSetting(
   body: API.SetEnterpriseElectronSignSettingCommand,

--
Gitblit v1.9.1