From c88ae82ec2267a77bd19d08ed91f7bf84ad11f87 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 07 七月 2025 18:17:53 +0800 Subject: [PATCH] fix: 江佑保系统健壮性修复 --- src/services/api/TaiPing.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/api/TaiPing.ts b/src/services/api/TaiPing.ts index 5e37d8d..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,8 +15,8 @@ } /** 澶钩淇濋櫓鎵夸繚鎴愬姛閫氱煡 POST /api/TaiPing/Success */ -export async function success(body: string, 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', headers: { 'Content-Type': 'application/json', -- Gitblit v1.9.1