From 27652573ea8a58d5593791e27b4d326f84187093 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 12 十二月 2025 21:37:30 +0800
Subject: [PATCH] fix: bug
---
packages/services/apiV2/enterprise.ts | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/packages/services/apiV2/enterprise.ts b/packages/services/apiV2/enterprise.ts
index 1878577..346e2eb 100644
--- a/packages/services/apiV2/enterprise.ts
+++ b/packages/services/apiV2/enterprise.ts
@@ -35,6 +35,24 @@
);
}
+/** 鏌ヨ浼佷笟淇濋櫓閰嶇疆 GET /api/user/enterprise/getEnterpriseInsuranceSetting */
+export async function getEnterpriseInsuranceSetting(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseInsuranceSettingParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseInsuranceSettingQueryResult>(
+ '/api/user/enterprise/getEnterpriseInsuranceSetting',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
/** 鏌ヨ浼佷笟淇℃伅鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/enterprise/getEnterprises */
export async function getEnterprises(body: API.GetEnterprisesQuery, options?: API.RequestConfig) {
return request<API.PagedListQueryResultGetEnterprisesQueryResultItem>(
@@ -196,6 +214,21 @@
});
}
+/** 璁剧疆浼佷笟淇濋櫓閰嶇疆 PUT /api/user/enterprise/setEnterpriseInsuranceSetting */
+export async function setEnterpriseInsuranceSetting(
+ body: API.SetEnterpriseInsuranceSettingCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterprise/setEnterpriseInsuranceSetting', {
+ method: 'PUT',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 璁剧疆浼佷笟鐭俊閰嶇疆 PUT /api/user/enterprise/setEnterpriseSmsSetting */
export async function setEnterpriseSmsSetting(
body: API.SetEnterpriseSmsSettingCommand,
--
Gitblit v1.9.1