From 34e523d5ed7f25a0bc20532577ccde90386352aa Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 23 十月 2025 15:22:41 +0800
Subject: [PATCH] Merge branch 'dev-2.2.3' of http://120.26.58.240:8888/r/JYBIndependentFront into dev-2.2.3
---
src/services/api/Dictionary.ts | 71 +++++++++++++++++++++++++++++++++++
1 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/src/services/api/Dictionary.ts b/src/services/api/Dictionary.ts
index a5edbe5..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 || {}),
});
}
@@ -30,6 +60,39 @@
},
...(options || {}),
});
+}
+
+/** 鑾峰彇淇濋櫓浜у搧鏂规涓嬫媺鍒楄〃 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 */
@@ -65,6 +128,14 @@
);
}
+/** 鐢ㄦ埛涓嬫墍閰嶇疆鐨勬墍鏈変繚闄╀骇鍝� GET /api/Dictionary/GetUserInsureProductSetting */
+export async function getUserInsureProductSetting(options?: API.RequestConfig) {
+ return request<API.InsureProductSettingDto[]>('/api/Dictionary/GetUserInsureProductSetting', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
/** 淇敼淇濋櫓浜у搧閰嶇疆鐘舵�� POST /api/Dictionary/UpdateInsureProductSettingStatus */
export async function updateInsureProductSettingStatus(
body: API.UpdateInsureProductSettingStatusInput,
--
Gitblit v1.9.1