From 97334831995a7a442af237dd44eaf3fc7edc120b Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 12 十二月 2025 19:59:49 +0800
Subject: [PATCH] feat: 新增渠道包
---
src/services/api/enterpriseInsuranceProduct.ts | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/src/services/api/enterpriseInsuranceProduct.ts b/src/services/api/enterpriseInsuranceProduct.ts
new file mode 100644
index 0000000..d5f1c98
--- /dev/null
+++ b/src/services/api/enterpriseInsuranceProduct.ts
@@ -0,0 +1,57 @@
+/* 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 || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟淇濋櫓浜у搧閫夋嫨鍣ㄦ暟鎹� GET /api/flexjob/enterpriseInsuranceProduct/getEnterpriseInsuranceProductSelect */
+export async function getEnterpriseInsuranceProductSelect(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseInsuranceProductSelectParams,
+ options?: API.RequestConfig
+) {
+ return request<API.SelectOptionGuidGetEnterpriseInsuranceProductSelectQueryOption[]>(
+ '/api/flexjob/enterpriseInsuranceProduct/getEnterpriseInsuranceProductSelect',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(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