From 5cf7fd6bf3ca6e174b603c3591a3fbf699ddf976 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 08 七月 2025 13:40:20 +0800
Subject: [PATCH] fix: 江佑保系统健壮性修复

---
 src/services/api/TaiPing.ts |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/src/services/api/TaiPing.ts b/src/services/api/TaiPing.ts
index 331f5f0..98f44c4 100644
--- a/src/services/api/TaiPing.ts
+++ b/src/services/api/TaiPing.ts
@@ -4,7 +4,7 @@
 
 /** 涓�姝ュ嚭鍗� POST /api/TaiPing/Proposal */
 export async function proposal(body: API.ProposalInput, options?: API.RequestConfig) {
-  return request<API.ProposalResponseData>('/api/TaiPing/Proposal', {
+  return request<API.ProposalOutput>('/api/TaiPing/Proposal', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json',
@@ -15,16 +15,13 @@
 }
 
 /** 澶钩淇濋櫓鎵夸繚鎴愬姛閫氱煡 POST /api/TaiPing/Success */
-export async function success(
-  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
-  params: API.APIsuccessParams,
-  options?: API.RequestConfig
-) {
-  return request<string>('/api/TaiPing/Success', {
+export async function success(body: Record<string, any>, options?: API.RequestConfig) {
+  return request<any>('/api/TaiPing/Success', {
     method: 'POST',
-    params: {
-      ...params,
+    headers: {
+      'Content-Type': 'application/json',
     },
+    data: body,
     ...(options || {}),
   });
 }

--
Gitblit v1.9.1