From 3ee683d6b002f098e5b7fed11b54615126d82a3c Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 24 二月 2025 10:57:26 +0800 Subject: [PATCH] fix: 对接 --- packages/services/api/AliPayNotify.ts | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/services/api/AliPayNotify.ts b/packages/services/api/AliPayNotify.ts index 359d1a0..34d3943 100644 --- a/packages/services/api/AliPayNotify.ts +++ b/packages/services/api/AliPayNotify.ts @@ -2,23 +2,8 @@ // @ts-ignore import { request } from '@/utils/request'; -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/AliPayNotify/AliRechargeNotify */ -export async function aliRechargeNotify( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIaliRechargeNotifyParams, - options?: API.RequestConfig -) { - return request<any>('/api/AliPayNotify/AliRechargeNotify', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - /** 鏀粯瀹濆厖鍊煎洖璋冮�氱煡 POST /api/AliPayNotify/AliRechargeNotify */ -export async function aliRechargeNotify_2(options?: API.RequestConfig) { +export async function aliRechargeNotify(options?: API.RequestConfig) { return request<any>('/api/AliPayNotify/AliRechargeNotify', { method: 'POST', ...(options || {}), @@ -47,3 +32,18 @@ ...(options || {}), }); } + +/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/AliPayNotify/TestAliRechargeNotify */ +export async function testAliRechargeNotify( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APItestAliRechargeNotifyParams, + options?: API.RequestConfig +) { + return request<any>('/api/AliPayNotify/TestAliRechargeNotify', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} -- Gitblit v1.9.1