From 65fdfc6dd82f0bcf6c6826fe1ab645b309f6045c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 23 十月 2025 19:37:06 +0800
Subject: [PATCH] fix: bug
---
src/services/api/Dictionary.ts | 63 +++++++++++++++++++++++++++++++
1 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/src/services/api/Dictionary.ts b/src/services/api/Dictionary.ts
index 589de27..ca58aca 100644
--- a/src/services/api/Dictionary.ts
+++ b/src/services/api/Dictionary.ts
@@ -2,6 +2,21 @@
// @ts-ignore
import { request } from '@/utils/request';
+/** 鏂板锛岀紪杈戜繚闄╀骇鍝佹柟妗� POST /api/Dictionary/CreateOrUpdateInsureProductScheme */
+export async function createOrUpdateInsureProductScheme(
+ body: API.CreateOrUpdateInsureProductSchemeInput,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/Dictionary/CreateOrUpdateInsureProductScheme', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 鏂板锛岀紪杈戜繚闄╀骇鍝侀厤缃� POST /api/Dictionary/CreateOrUpdateInsureProductSetting */
export async function createOrUpdateInsureProductSetting(
body: API.CreateOrUpdateInsureProductSettingInput,
@@ -13,6 +28,21 @@
'Content-Type': 'application/json',
},
data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鍒犻櫎淇濋櫓浜у搧鏂规 POST /api/Dictionary/DeleteInsureProductScheme */
+export async function deleteInsureProductScheme(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIdeleteInsureProductSchemeParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/Dictionary/DeleteInsureProductScheme', {
+ method: 'POST',
+ params: {
+ ...params,
+ },
...(options || {}),
});
}
@@ -32,6 +62,39 @@
});
}
+/** 鑾峰彇淇濋櫓浜у搧鏂规涓嬫媺鍒楄〃 POST /api/Dictionary/GetInsureProductSchemeAllList */
+export async function getInsureProductSchemeAllList(
+ body: API.GetInsureProductSchemePageInput,
+ options?: API.RequestConfig
+) {
+ return request<API.InsureProductSchemeDto[]>('/api/Dictionary/GetInsureProductSchemeAllList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇淇濋櫓浜у搧鏂规鍒楄〃 POST /api/Dictionary/GetInsureProductSchemePage */
+export async function getInsureProductSchemePage(
+ body: API.GetInsureProductSchemePageInput,
+ options?: API.RequestConfig
+) {
+ return request<API.InsureProductSchemeDtoPageOutput>(
+ '/api/Dictionary/GetInsureProductSchemePage',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
/** 鑾峰彇宸插惎鐢ㄧ殑淇濋櫓浜у搧閰嶇疆涓嬫媺鍒楄〃 POST /api/Dictionary/GetInsureProductSettingAllList */
export async function getInsureProductSettingAllList(
body: API.GetInsureProductSettingPageInput,
--
Gitblit v1.9.1