From c48683d52511648af2f249ee0a240613e34ce0ad Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 20 二月 2025 18:23:51 +0800
Subject: [PATCH] feat: 我的

---
 packages/services/api/AlipayEcsignNotify.ts |   34 +++++-----------------------------
 1 files changed, 5 insertions(+), 29 deletions(-)

diff --git a/packages/services/api/AlipayEcsignNotify.ts b/packages/services/api/AlipayEcsignNotify.ts
index 1fd8d9d..358cb67 100644
--- a/packages/services/api/AlipayEcsignNotify.ts
+++ b/packages/services/api/AlipayEcsignNotify.ts
@@ -4,39 +4,15 @@
 
 /** 淇′换绛惧紓姝ラ�氱煡 POST /api/AlipayEcsignNotify/SignorderNotify */
 export async function signorderNotify(
-  body: {
-    /** 绛剧害璁㈠崟鍙� */
-    SignOrderNo?: string;
-    /** 鍙戣捣绛剧害鐨勪笟鍔℃祦姘村彿 */
-    OutOrderNo?: string;
-    /** 璁㈠崟鐘舵�侊細INIT-鍒濆鍖栵紝FAIL-绛剧害澶辫触锛孲UCCESS-绛剧害鎴愬姛 */
-    OrderStatus?: string;
-    /** 绛剧害鏂规鐮� */
-    SolutionCode?: string;
-    /** 鍒涘缓鏃堕棿 */
-    GmtCreate?: string;
-    /** 鏇存柊鏃堕棿 */
-    GmtModified?: string;
-  },
+  body: API.AlipayEcsignNotifyInput,
   options?: API.RequestConfig
 ) {
-  const formData = new FormData();
-
-  Object.keys(body).forEach((ele) => {
-    const item = (body as any)[ele];
-
-    if (item !== undefined && item !== null) {
-      formData.append(
-        ele,
-        typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item
-      );
-    }
-  });
-
   return request<any>('/api/AlipayEcsignNotify/SignorderNotify', {
     method: 'POST',
-    data: formData,
-    requestType: 'form',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
     ...(options || {}),
   });
 }

--
Gitblit v1.9.1