From 91f00f1df35a964d69f48b9f71b484e2d4ef357e Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 11 六月 2025 16:52:57 +0800 Subject: [PATCH] fix: v1.4 --- packages/services/api/LifePay.ts | 224 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 215 insertions(+), 9 deletions(-) diff --git a/packages/services/api/LifePay.ts b/packages/services/api/LifePay.ts index d35ff51..f134942 100644 --- a/packages/services/api/LifePay.ts +++ b/packages/services/api/LifePay.ts @@ -176,6 +176,30 @@ }); } +/** 鍚屾璁㈠崟鍒嗕剑淇℃伅 GET /api/LifePay/GetAllChannlesRake */ +export async function getAllChannlesRake(options?: API.RequestConfig) { + return request<any>('/api/LifePay/GetAllChannlesRake', { + method: 'GET', + ...(options || {}), + }); +} + +/** 缁熻浜ゆ槗娴佹按 GET /api/LifePay/GetAllLifePayConsumption */ +export async function getAllLifePayConsumption(options?: API.RequestConfig) { + return request<any>('/api/LifePay/GetAllLifePayConsumption', { + 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榛樿娌℃湁鐢熸垚瀵硅薄) @@ -191,9 +215,39 @@ }); } +/** 娓犻亾鏁版嵁 POST /api/LifePay/GetChannelDataList */ +export async function getChannelDataList( + body: API.TopStatisticsInput, + options?: API.RequestConfig +) { + return request<API.ChannelDataListOutPut>('/api/LifePay/GetChannelDataList', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 鑾峰彇娓犻亾鎶樻墸 POST /api/LifePay/GetChannelRate */ export async function getChannelRate(body: API.ChannelsBaseInput, options?: API.RequestConfig) { return request<API.ChannelRateOutput>('/api/LifePay/GetChannelRate', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 30鏃ヤ剑閲戝垪琛� POST /api/LifePay/GetChannlesRakeList */ +export async function getChannlesRakeList( + body: API.TopStatisticsInput, + options?: API.RequestConfig +) { + return request<API.ChannlesRakeListOutPut>('/api/LifePay/GetChannlesRakeList', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -272,10 +326,17 @@ }); } -/** 鑾峰彇鍏ㄩ儴缂磋垂娓犻亾 GET /api/LifePay/GetLifePayChannlesAllList */ -export async function getLifePayChannlesAllList(options?: API.RequestConfig) { +/** 鑾峰彇鍏ㄩ儴缂磋垂娓犻亾 POST /api/LifePay/GetLifePayChannlesAllList */ +export async function getLifePayChannlesAllList( + body: API.QueryLifePayChannlesInput, + options?: API.RequestConfig +) { return request<API.CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', { - method: 'GET', + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, ...(options || {}), }); } @@ -305,6 +366,75 @@ data: body, ...(options || {}), }); +} + +/** 鑾峰彇娓犻亾鍒嗕剑鍒嗛〉鍒楄〃 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/GetLifePayConsumptionPage */ +export async function getLifePayConsumptionPage( + body: API.LifePayConsumptionPageInput, + options?: API.RequestConfig +) { + return request<API.LifePayConsumptionListOutputPageOutput>( + '/api/LifePay/GetLifePayConsumptionPage', + { + 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 */ @@ -352,12 +482,27 @@ }); } +/** 瀵煎嚭娓犻亾璁㈠崟Excel POST /api/LifePay/GetLifePayOrderPageExportForChannle */ +export async function getLifePayOrderPageExportForChannle( + body: API.QueryLifePayOrderListInput, + options?: API.RequestConfig +) { + return request<any>('/api/LifePay/GetLifePayOrderPageExportForChannle', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 鑾峰彇鍏呭�兼祦姘村垎椤垫暟鎹� POST /api/LifePay/GetLifePayRechargeReceiptsPage */ export async function getLifePayRechargeReceiptsPage( body: API.LifePayRechargeReceiptsPageInput, options?: API.RequestConfig ) { - return request<API.LifePayRechargeReceiptsListOutputLifePayRechargeReceiptsPageOutput>( + return request<API.LifePayRechargeReceiptsListOutputPageOutput>( '/api/LifePay/GetLifePayRechargeReceiptsPage', { method: 'POST', @@ -481,10 +626,26 @@ }); } -/** 鑾峰彇椤堕儴缁熻鏁版嵁 GET /api/LifePay/GetTopStatistics */ -export async function getTopStatistics(options?: API.RequestConfig) { +/** 鑾峰彇30鏃ユ敹娆剧粺璁� POST /api/LifePay/GetReceiptsList */ +export async function getReceiptsList(body: API.TopStatisticsInput, options?: API.RequestConfig) { + return request<API.ReceiptsListOutPut>('/api/LifePay/GetReceiptsList', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鑾峰彇椤堕儴缁熻鏁版嵁 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 || {}), }); } @@ -618,6 +779,21 @@ }); } +/** 璇濊垂璁㈠崟鏌ヨ POST /api/LifePay/QueryPhoneOrder */ +export async function queryPhoneOrder( + body: API.QueryPhoneOrderRequestInput, + options?: API.RequestConfig +) { + return request<API.QueryPhoneOrderResponse>('/api/LifePay/QueryPhoneOrder', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 閫�娆剧敓娲荤即璐硅鍗� POST /api/LifePay/RefundLifePayOrder */ export async function refundLifePayOrder( body: API.RefundLifePayOrderInput, @@ -693,6 +869,21 @@ }); } +/** 鑾峰彇鎸囧畾澶╂暟鐨勭粺璁℃暟鎹� POST /api/LifePay/StatisticsByDate */ +export async function statisticsByDate( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIstatisticsByDateParams, + options?: API.RequestConfig +) { + return request<number>('/api/LifePay/StatisticsByDate', { + method: 'POST', + params: { + ...params, + }, + ...(options || {}), + }); +} + /** 淇敼瀹為檯鍒拌处閲戦 POST /api/LifePay/UpdateLifePayOrderActualReceivedAmount */ export async function updateLifePayOrderActualReceivedAmount( body: API.UpdateLifePayOrderInput, @@ -723,13 +914,28 @@ }); } -/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/LifePay/WxPayDomesticRefundsQuery */ +/** 鏌ヨ寰俊閫�娆句俊鎭� GET /api/LifePay/WxPayDomesticRefundsQuery */ export async function wxPayDomesticRefundsQuery( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) params: API.APIwxPayDomesticRefundsQueryParams, options?: API.RequestConfig ) { - return request<any>('/api/LifePay/WxPayDomesticRefundsQuery', { + 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, -- Gitblit v1.9.1