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/insuranceProduct.ts | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/src/services/api/insuranceProduct.ts b/src/services/api/insuranceProduct.ts
new file mode 100644
index 0000000..7b14035
--- /dev/null
+++ b/src/services/api/insuranceProduct.ts
@@ -0,0 +1,51 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 鏌ヨ淇濋櫓浜у搧鍒嗛〉鍒楄〃 POST /api/flexjob/insuranceProduct/getInsuranceProducts */
+export async function getInsuranceProducts(
+ body: API.GetInsuranceProductsQuery,
+ options?: API.RequestConfig
+) {
+ return request<API.GetInsuranceProductsQueryResult>(
+ '/api/flexjob/insuranceProduct/getInsuranceProducts',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 淇濆瓨淇濋櫓浜у搧 POST /api/flexjob/insuranceProduct/saveInsuranceProduct */
+export async function saveInsuranceProduct(
+ body: API.SaveInsuranceProductCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/flexjob/insuranceProduct/saveInsuranceProduct', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁剧疆淇濋櫓浜у搧鐘舵�� PUT /api/flexjob/insuranceProduct/setIsDisabledInsuranceProduct */
+export async function setIsDisabledInsuranceProduct(
+ body: API.SetIsDisabledInsuranceProductCommand,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/flexjob/insuranceProduct/setIsDisabledInsuranceProduct', {
+ method: 'PUT',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
--
Gitblit v1.9.1