From b42ca1e9ab197ce53828f4607610ae10f25965bb Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 12 十二月 2025 19:59:13 +0800
Subject: [PATCH] feat: 新增渠道包
---
src/services/api/enterprise.ts | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/src/services/api/enterprise.ts b/src/services/api/enterprise.ts
index 1878577..346e2eb 100644
--- a/src/services/api/enterprise.ts
+++ b/src/services/api/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