From e372854c71bc97d162452cc4b3f5cfa586da50a8 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 22 五月 2025 17:06:31 +0800 Subject: [PATCH] feat: UI --- packages/services/api/AliPayNotify.ts | 47 ++++++++++++----------------------------------- 1 files changed, 12 insertions(+), 35 deletions(-) diff --git a/packages/services/api/AliPayNotify.ts b/packages/services/api/AliPayNotify.ts index 359d1a0..999cea8 100644 --- a/packages/services/api/AliPayNotify.ts +++ b/packages/services/api/AliPayNotify.ts @@ -2,48 +2,25 @@ // @ts-ignore import { request } from '@/utils/request'; -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/AliPayNotify/AliRechargeNotify */ -export async function aliRechargeNotify( +/** 鏀粯瀹濆厖鍊煎洖璋冮�氱煡 POST /api/AliPayNotify/AliRechargeNotify */ +export async function aliRechargeNotify(options?: API.RequestConfig) { + return request<any>('/api/AliPayNotify/AliRechargeNotify', { + method: 'POST', + ...(options || {}), + }); +} + +/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/AliPayNotify/TestAliRechargeNotify */ +export async function testAliRechargeNotify( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIaliRechargeNotifyParams, + params: API.APItestAliRechargeNotifyParams, options?: API.RequestConfig ) { - return request<any>('/api/AliPayNotify/AliRechargeNotify', { + return request<any>('/api/AliPayNotify/TestAliRechargeNotify', { method: 'GET', params: { ...params, }, - ...(options || {}), - }); -} - -/** 鏀粯瀹濆厖鍊煎洖璋冮�氱煡 POST /api/AliPayNotify/AliRechargeNotify */ -export async function aliRechargeNotify_2(options?: API.RequestConfig) { - return request<any>('/api/AliPayNotify/AliRechargeNotify', { - method: 'POST', - ...(options || {}), - }); -} - -/** 鍗曠瑪杞处鍒版敮浠樺疂璐︽埛銆佸崟绗旇浆璐﹀埌閾惰鍗°�丆2C鐜伴噾绾㈠寘銆丅2C鐜伴噾绾㈠寘鍗曟嵁鐘舵�佸彉鏇村悗瑙﹀彂鐨勯�氱煡 POST /api/AliPayNotify/FundTransOrderChangedForRecharge */ -export async function fundTransOrderChangedForRecharge( - body: API.FundOrderChangedInput, - options?: API.RequestConfig -) { - return request<any>('/api/AliPayNotify/FundTransOrderChangedForRecharge', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - 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