From 55c03f35a31979aefd46aead13a145c9b293e6d8 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 27 三月 2025 17:38:55 +0800 Subject: [PATCH] fix: 四期需求 --- packages/services/api/LifePay.ts | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 113 insertions(+), 0 deletions(-) diff --git a/packages/services/api/LifePay.ts b/packages/services/api/LifePay.ts index 191b086..d35ff51 100644 --- a/packages/services/api/LifePay.ts +++ b/packages/services/api/LifePay.ts @@ -14,6 +14,21 @@ }); } +/** 涓婁紶鍏呭�兼祦姘� POST /api/LifePay/AddUpdatePayRechargeReceipts */ +export async function addUpdatePayRechargeReceipts( + body: API.AddUpdatePayRechargeReceiptsInput, + options?: API.RequestConfig +) { + return request<number>('/api/LifePay/AddUpdatePayRechargeReceipts', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 娣诲姞鎴栦慨鏀规垜鐨勬埛鍙� POST /api/LifePay/AddUpdateUserAccount */ export async function addUpdateUserAccount( body: API.AddUpdateUserAccountInput, @@ -337,6 +352,24 @@ }); } +/** 鑾峰彇鍏呭�兼祦姘村垎椤垫暟鎹� POST /api/LifePay/GetLifePayRechargeReceiptsPage */ +export async function getLifePayRechargeReceiptsPage( + body: API.LifePayRechargeReceiptsPageInput, + options?: API.RequestConfig +) { + return request<API.LifePayRechargeReceiptsListOutputLifePayRechargeReceiptsPageOutput>( + '/api/LifePay/GetLifePayRechargeReceiptsPage', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 瀵煎嚭閫�娆捐鍗旹xcel POST /api/LifePay/GetLifePayRefudOrderPageExport */ export async function getLifePayRefudOrderPageExport( body: API.QueryLifePayRefundOrderListInput, @@ -378,6 +411,14 @@ 'Content-Type': 'application/json', }, data: body, + ...(options || {}), + }); +} + +/** 鑾峰彇鍦ㄧ嚎瀹㈡湇 GET /api/LifePay/GetOnlineService */ +export async function getOnlineService(options?: API.RequestConfig) { + return request<string>('/api/LifePay/GetOnlineService', { + method: 'GET', ...(options || {}), }); } @@ -550,6 +591,33 @@ }); } +/** 鏌ヨ鏀粯瀹濇敮浠樿鍗曚俊鎭� POST /api/LifePay/QueryAlipayTrade */ +export async function queryAlipayTrade(body: API.OrderInQuiryInput, options?: API.RequestConfig) { + return request<API.AlipayTradeQueryResponse>('/api/LifePay/QueryAlipayTrade', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ鏀粯瀹濋��娆捐鍗曚俊鎭� POST /api/LifePay/QueryAlipayTradeRefund */ +export async function queryAlipayTradeRefund( + body: API.OrderInQuiryInput, + options?: API.RequestConfig +) { + return request<API.AlipayTradeFastpayRefundQueryResponse>('/api/LifePay/QueryAlipayTradeRefund', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 閫�娆剧敓娲荤即璐硅鍗� POST /api/LifePay/RefundLifePayOrder */ export async function refundLifePayOrder( body: API.RefundLifePayOrderInput, @@ -624,3 +692,48 @@ ...(options || {}), }); } + +/** 淇敼瀹為檯鍒拌处閲戦 POST /api/LifePay/UpdateLifePayOrderActualReceivedAmount */ +export async function updateLifePayOrderActualReceivedAmount( + body: API.UpdateLifePayOrderInput, + options?: API.RequestConfig +) { + return request<number>('/api/LifePay/UpdateLifePayOrderActualReceivedAmount', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鍦ㄧ嚎瀹㈡湇閰嶇疆 POST /api/LifePay/UpdateOnlineService */ +export async function updateOnlineService( + body: API.OnlineServiceInput, + options?: API.RequestConfig +) { + return request<number>('/api/LifePay/UpdateOnlineService', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/LifePay/WxPayDomesticRefundsQuery */ +export async function wxPayDomesticRefundsQuery( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIwxPayDomesticRefundsQueryParams, + options?: API.RequestConfig +) { + return request<any>('/api/LifePay/WxPayDomesticRefundsQuery', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} -- Gitblit v1.9.1