From 65fdfc6dd82f0bcf6c6826fe1ab645b309f6045c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 23 十月 2025 19:37:06 +0800
Subject: [PATCH] fix: bug
---
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