From 174f774704bbab83061288522ec4fbdfba1f6716 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 25 三月 2025 13:17:10 +0800 Subject: [PATCH] fix: 三期bug --- 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