From 074b4c463c4be9bf5df11fa08779a523fdb983b1 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 01 四月 2025 17:11:01 +0800 Subject: [PATCH] fix: 四期需求 --- packages/services/api/LifePay.ts | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 202 insertions(+), 3 deletions(-) diff --git a/packages/services/api/LifePay.ts b/packages/services/api/LifePay.ts index 191b086..763251e 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, @@ -161,6 +176,22 @@ }); } +/** 鍚屾璁㈠崟 GET /api/LifePay/GetAllChannlesRake */ +export async function getAllChannlesRake(options?: API.RequestConfig) { + return request<any>('/api/LifePay/GetAllChannlesRake', { + method: 'GET', + ...(options || {}), + }); +} + +/** 鍚屾璁㈠崟鏀舵敮淇℃伅 GET /api/LifePay/GetAllLifePayExpensesReceipts */ +export async function getAllLifePayExpensesReceipts(options?: API.RequestConfig) { + return request<any>('/api/LifePay/GetAllLifePayExpensesReceipts', { + method: 'GET', + ...(options || {}), + }); +} + /** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/LifePay/GetBillErceiptExport */ export async function getBillErceiptExport( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -292,6 +323,57 @@ }); } +/** 鑾峰彇娓犻亾鍒嗕剑鍒嗛〉鍒楄〃 POST /api/LifePay/GetLifePayChannlesRakePage */ +export async function getLifePayChannlesRakePage( + body: API.LifePayChannlesRakePageInput, + options?: API.RequestConfig +) { + return request<API.LifePayChannlesRakeListOutputPageOutput>( + '/api/LifePay/GetLifePayChannlesRakePage', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 瀵煎嚭娓犻亾鍒嗕剑Excel POST /api/LifePay/GetLifePayChannlesRakePageExport */ +export async function getLifePayChannlesRakePageExport( + body: API.LifePayChannlesRakePageInput, + options?: API.RequestConfig +) { + return request<any>('/api/LifePay/GetLifePayChannlesRakePageExport', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鑾峰彇鏀舵敮娴佹按鍒嗛〉鏁版嵁 POST /api/LifePay/GetLifePayExpensesReceiptsPage */ +export async function getLifePayExpensesReceiptsPage( + body: API.LifePayExpensesReceiptsPageInput, + options?: API.RequestConfig +) { + return request<API.LifePayExpensesReceiptsListOutputPageOutput>( + '/api/LifePay/GetLifePayExpensesReceiptsPage', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 鑾峰彇璁㈠崟璇︽儏 GET /api/LifePay/GetLifePayOrderDetail */ export async function getLifePayOrderDetail( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -337,6 +419,24 @@ }); } +/** 鑾峰彇鍏呭�兼祦姘村垎椤垫暟鎹� POST /api/LifePay/GetLifePayRechargeReceiptsPage */ +export async function getLifePayRechargeReceiptsPage( + body: API.LifePayRechargeReceiptsPageInput, + options?: API.RequestConfig +) { + return request<API.LifePayRechargeReceiptsListOutputPageOutput>( + '/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 +478,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 || {}), }); } @@ -440,10 +548,14 @@ }); } -/** 鑾峰彇椤堕儴缁熻鏁版嵁 GET /api/LifePay/GetTopStatistics */ -export async function getTopStatistics(options?: API.RequestConfig) { +/** 鑾峰彇椤堕儴缁熻鏁版嵁 POST /api/LifePay/GetTopStatistics */ +export async function getTopStatistics(body: API.TopStatisticsInput, options?: API.RequestConfig) { return request<API.TopStatisticsOutput>('/api/LifePay/GetTopStatistics', { - method: 'GET', + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, ...(options || {}), }); } @@ -550,6 +662,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 +763,63 @@ ...(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<API.WxPayDomesticRefundsQueryReponse>('/api/LifePay/WxPayDomesticRefundsQuery', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 鏌ヨ寰俊璁㈠崟淇℃伅 GET /api/LifePay/WxPayTradeQuery */ +export async function wxPayTradeQuery( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIwxPayTradeQueryParams, + options?: API.RequestConfig +) { + return request<API.WxPayTradeQueryReponse>('/api/LifePay/WxPayTradeQuery', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} -- Gitblit v1.9.1