From db1ca3ed5ae742bdab3f987eb9b6ad250ce26d5b Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 12 十二月 2025 19:59:33 +0800
Subject: [PATCH] feat: 新增渠道包
---
src/services/api/enterpriseInsuranceProduct.ts | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/src/services/api/enterpriseInsuranceProduct.ts b/src/services/api/enterpriseInsuranceProduct.ts
new file mode 100644
index 0000000..f1c9766
--- /dev/null
+++ b/src/services/api/enterpriseInsuranceProduct.ts
@@ -0,0 +1,39 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 鏌ヨ浼佷笟淇濋櫓浜у搧鍒嗛〉鍒楄〃 POST /api/flexjob/enterpriseInsuranceProduct/getEnterpriseInsuranceProducts */
+export async function getEnterpriseInsuranceProducts(
+ body: API.GetEnterpriseInsuranceProductsQuery,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseInsuranceProductsQueryResult>(
+ '/api/flexjob/enterpriseInsuranceProduct/getEnterpriseInsuranceProducts',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 璁剧疆浼佷笟鎶曚繚浜у搧鐘舵�� PUT /api/flexjob/enterpriseInsuranceProduct/setDisabledEnterpriseInsuranceProducts */
+export async function setDisabledEnterpriseInsuranceProducts(
+ body: API.SetDisabledEnterpriseInsuranceProductsCommand,
+ options?: API.RequestConfig
+) {
+ return request<number>(
+ '/api/flexjob/enterpriseInsuranceProduct/setDisabledEnterpriseInsuranceProducts',
+ {
+ method: 'PUT',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
--
Gitblit v1.9.1