From 509bbe9a8036bdcce9c6d4a324e09ce128639908 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 30 六月 2025 17:45:09 +0800 Subject: [PATCH] fix: bug --- src/services/api/TaiPing.ts | 21 +++------------------ 1 files changed, 3 insertions(+), 18 deletions(-) diff --git a/src/services/api/TaiPing.ts b/src/services/api/TaiPing.ts index 331f5f0..c0153a7 100644 --- a/src/services/api/TaiPing.ts +++ b/src/services/api/TaiPing.ts @@ -2,29 +2,14 @@ // @ts-ignore import { request } from '@/utils/request'; -/** 涓�姝ュ嚭鍗� POST /api/TaiPing/Proposal */ -export async function proposal(body: API.ProposalInput, options?: API.RequestConfig) { - return request<API.ProposalResponseData>('/api/TaiPing/Proposal', { +/** 澶钩淇濋櫓鎵夸繚鎴愬姛閫氱煡 POST /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', }, data: body, - ...(options || {}), - }); -} - -/** 澶钩淇濋櫓鎵夸繚鎴愬姛閫氱煡 POST /api/TaiPing/Success */ -export async function success( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIsuccessParams, - options?: API.RequestConfig -) { - return request<string>('/api/TaiPing/Success', { - method: 'POST', - params: { - ...params, - }, ...(options || {}), }); } -- Gitblit v1.9.1