From eed2448d2e9d3dd2b1ec17d5c4ae74b102d793c5 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 30 六月 2025 21:47:39 +0800 Subject: [PATCH] feat: v2.2 --- src/services/api/TaiPing.ts | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/services/api/TaiPing.ts b/src/services/api/TaiPing.ts index 5e37d8d..c0153a7 100644 --- a/src/services/api/TaiPing.ts +++ b/src/services/api/TaiPing.ts @@ -2,21 +2,9 @@ // @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', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - }); -} - /** 澶钩淇濋櫓鎵夸繚鎴愬姛閫氱煡 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