From 7ed1e4f30ba4d8204152cb157ceaee07374da080 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 17 三月 2025 14:29:14 +0800
Subject: [PATCH] fix: 修改支付方式选择

---
 packages/services/api/AliPayNotify.ts |   24 ++++++++----------------
 1 files changed, 8 insertions(+), 16 deletions(-)

diff --git a/packages/services/api/AliPayNotify.ts b/packages/services/api/AliPayNotify.ts
index 9ed98b0..999cea8 100644
--- a/packages/services/api/AliPayNotify.ts
+++ b/packages/services/api/AliPayNotify.ts
@@ -10,25 +10,17 @@
   });
 }
 
-/** 鍗曠瑪杞处鍒版敮浠樺疂璐︽埛銆佸崟绗旇浆璐﹀埌閾惰鍗°�丆2C鐜伴噾绾㈠寘銆丅2C鐜伴噾绾㈠寘鍗曟嵁鐘舵�佸彉鏇村悗瑙﹀彂鐨勯�氱煡 POST /api/AliPayNotify/FundTransOrderChangedForRecharge */
-export async function fundTransOrderChangedForRecharge(
-  body: API.FundOrderChangedInput,
+/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/AliPayNotify/TestAliRechargeNotify */
+export async function testAliRechargeNotify(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APItestAliRechargeNotifyParams,
   options?: API.RequestConfig
 ) {
-  return request<any>('/api/AliPayNotify/FundTransOrderChangedForRecharge', {
-    method: 'POST',
-    headers: {
-      'Content-Type': 'application/json',
+  return request<any>('/api/AliPayNotify/TestAliRechargeNotify', {
+    method: 'GET',
+    params: {
+      ...params,
     },
-    data: body,
-    ...(options || {}),
-  });
-}
-
-/** 鐢ㄦ埛绛剧害缁撴灉閫氱煡 POST /api/AliPayNotify/NotityPageSign */
-export async function notityPageSign(options?: API.RequestConfig) {
-  return request<any>('/api/AliPayNotify/NotityPageSign', {
-    method: 'POST',
     ...(options || {}),
   });
 }

--
Gitblit v1.9.1