From 1910e9f27373b8b4da75f076762025ceb3419965 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 12 六月 2025 15:40:50 +0800
Subject: [PATCH] fix: 暂时隐藏电信充值通道
---
packages/services/api/LifePay.ts | 823 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 812 insertions(+), 11 deletions(-)
diff --git a/packages/services/api/LifePay.ts b/packages/services/api/LifePay.ts
index 7abf054..f134942 100644
--- a/packages/services/api/LifePay.ts
+++ b/packages/services/api/LifePay.ts
@@ -2,12 +2,114 @@
// @ts-ignore
import { request } from '@/utils/request';
+/** 娣诲姞鏃ュ織 POST /api/LifePay/AddLogger */
+export async function addLogger(body: API.LogErrorInput, options?: API.RequestConfig) {
+ return request<number>('/api/LifePay/AddLogger', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 涓婁紶鍏呭�兼祦姘� 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,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/LifePay/AddUpdateUserAccount', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鎵嬬画璐硅垂鐜囬厤缃� POST /api/LifePay/CreateEditLifePayPremium */
+export async function createEditLifePayPremium(
+ body: API.LifePayPremiumInput[],
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/LifePay/CreateEditLifePayPremium', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鎶樻墸閰嶇疆 POST /api/LifePay/CreateEditLifePayRate */
+export async function createEditLifePayRate(
+ body: API.LifePayRateInput[],
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/LifePay/CreateEditLifePayRate', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 娓犻亾绠$悊 POST /api/LifePay/CreateEditPayChannels */
+export async function createEditPayChannels(
+ body: API.CreateEditPayChannelsInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/LifePay/CreateEditPayChannels', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 鍒涘缓鐢熸椿缂磋垂鐢佃垂璁㈠崟 POST /api/LifePay/CreateLifePayElectricOrder */
export async function createLifePayElectricOrder(
body: API.LifeElectricDataCreateLifePayOrderInput,
options?: API.RequestConfig
) {
return request<API.CreateLifePayOrderOutput>('/api/LifePay/CreateLifePayElectricOrder', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鍒涘缓鐢熸椿缂磋垂鐕冩皵璁㈠崟 POST /api/LifePay/CreateLifePayGasOrder */
+export async function createLifePayGasOrder(
+ body: API.LifeGasDataCreateLifePayOrderInput,
+ options?: API.RequestConfig
+) {
+ return request<API.CreateLifePayOrderOutput>('/api/LifePay/CreateLifePayGasOrder', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
@@ -32,10 +134,320 @@
});
}
-/** 鑾峰彇鐢佃垂闈㈠�� GET /api/LifePay/GetElectricParValue */
-export async function getElectricParValue(options?: API.RequestConfig) {
- return request<API.ElectricParValueResponse>('/api/LifePay/GetElectricParValue', {
+/** 鍒犻櫎鎴戠殑鎴峰彿 POST /api/LifePay/DeleteUserAccount */
+export async function deleteUserAccount(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIdeleteUserAccountParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/LifePay/DeleteUserAccount', {
+ method: 'POST',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 椤荤煡閰嶇疆 POST /api/LifePay/EditIntroInfo */
+export async function editIntroInfo(body: API.LifePayIntroInfoInput, options?: API.RequestConfig) {
+ return request<number>('/api/LifePay/EditIntroInfo', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐢ㄦ埛鎴峰彿鍒嗛〉鏁版嵁 POST /api/LifePay/GetAccountPage */
+export async function getAccountPage(
+ body: API.QueryUserAccountListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.UserAccountOutputPageOutput>('/api/LifePay/GetAccountPage', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鍚屾璁㈠崟鍒嗕剑淇℃伅 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榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetBillErceiptExportParams,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/LifePay/GetBillErceiptExport', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 娓犻亾鏁版嵁 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',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐢佃垂闈㈠�� POST /api/LifePay/GetElectricParValue */
+export async function getElectricParValue(
+ body: API.ChannelsBaseInput,
+ options?: API.RequestConfig
+) {
+ return request<API.ElectricParValueResponse>('/api/LifePay/GetElectricParValue', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐢佃垂鍏呭�煎尯鍩� POST /api/LifePay/GetElectricSupportArea */
+export async function getElectricSupportArea(
+ body: API.ChannelsBaseInput,
+ options?: API.RequestConfig
+) {
+ return request<API.ElectricSupportAreaResponse>('/api/LifePay/GetElectricSupportArea', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐕冩皵鏀寔鍟嗘埛 POST /api/LifePay/GetGasOrgType */
+export async function getGasOrgType(body: API.ChannelsBaseInput, options?: API.RequestConfig) {
+ return request<API.GasOrgTypeValueResponse>('/api/LifePay/GetGasOrgType', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐕冩皵闈㈠�� POST /api/LifePay/GetGasParValue */
+export async function getGasParValue(body: API.ChannelsBaseInput, options?: API.RequestConfig) {
+ return request<API.GasParValueResponse>('/api/LifePay/GetGasParValue', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇椤荤煡 GET /api/LifePay/GetIntroInfo */
+export async function getIntroInfo(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetIntroInfoParams,
+ options?: API.RequestConfig
+) {
+ return request<API.LifePayIntroInfoOutput[]>('/api/LifePay/GetIntroInfo', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鍏ㄩ儴缂磋垂娓犻亾 POST /api/LifePay/GetLifePayChannlesAllList */
+export async function getLifePayChannlesAllList(
+ body: API.QueryLifePayChannlesInput,
+ options?: API.RequestConfig
+) {
+ return request<API.CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇娓犻亾璇︽儏 GET /api/LifePay/GetLifePayChannlesDto */
+export async function getLifePayChannlesDto(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetLifePayChannlesDtoParams,
+ options?: API.RequestConfig
+) {
+ return request<API.CreateEditPayChannelsInput>('/api/LifePay/GetLifePayChannlesDto', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇缂磋垂娓犻亾鍒楄〃 POST /api/LifePay/GetLifePayChannlesPage */
+export async function getLifePayChannlesPage(body: API.PageInput, options?: API.RequestConfig) {
+ return request<API.CreateEditPayChannelsInputPageOutput>('/api/LifePay/GetLifePayChannlesPage', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ 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 */
+export async function getLifePayOrderDetail(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetLifePayOrderDetailParams,
+ options?: API.RequestConfig
+) {
+ return request<API.LifePayOrderOutput>('/api/LifePay/GetLifePayOrderDetail', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
...(options || {}),
});
}
@@ -55,13 +467,76 @@
});
}
-/** 鏍规嵁璁㈠崟鍙疯幏鍙栨敮浠樼姸鎬� GET /api/LifePay/GetPayStatusByOrderNo */
-export async function getPayStatusByOrderNo(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetPayStatusByOrderNoParams,
+/** 瀵煎嚭璁㈠崟Excel POST /api/LifePay/GetLifePayOrderPageExport */
+export async function getLifePayOrderPageExport(
+ body: API.QueryLifePayOrderListInput,
options?: API.RequestConfig
) {
- return request<API.LifePayStatusEnum>('/api/LifePay/GetPayStatusByOrderNo', {
+ return request<any>('/api/LifePay/GetLifePayOrderPageExport', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 瀵煎嚭娓犻亾璁㈠崟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.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,
+ options?: API.RequestConfig
+) {
+ return request<any>('/api/LifePay/GetLifePayRefudOrderPageExport', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇閫�娆捐鍗曡鎯� GET /api/LifePay/GetLifePayRefundOrderDetail */
+export async function getLifePayRefundOrderDetail(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetLifePayRefundOrderDetailParams,
+ options?: API.RequestConfig
+) {
+ return request<API.LifePayRefundOrderOutput>('/api/LifePay/GetLifePayRefundOrderDetail', {
method: 'GET',
params: {
...params,
@@ -70,9 +545,74 @@
});
}
-/** 鑾峰彇璇濊垂闈㈠�� GET /api/LifePay/GetPhoneParValue */
-export async function getPhoneParValue(options?: API.RequestConfig) {
+/** 鑾峰彇閫�娆捐鍗曞垎椤垫暟鎹� POST /api/LifePay/GetLifePayRefundOrderPage */
+export async function getLifePayRefundOrderPage(
+ body: API.QueryLifePayRefundOrderListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.LifePayOrderListOutputPageOutput>('/api/LifePay/GetLifePayRefundOrderPage', {
+ method: 'POST',
+ headers: {
+ '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 || {}),
+ });
+}
+
+/** 鑾峰彇寰俊鏀粯鐨凧SAPI POST /api/LifePay/GetPayOrderForJsAPI */
+export async function getPayOrderForJsAPI(
+ body: API.GetPayOrderForJsAPIInput,
+ options?: API.RequestConfig
+) {
+ return request<API.ModelPaymentMiniPay>('/api/LifePay/GetPayOrderForJsAPI', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏍规嵁璁㈠崟鍙疯幏鍙栨敮浠樼姸鎬� POST /api/LifePay/GetPayStatusByOrderNo */
+export async function getPayStatusByOrderNo(
+ body: API.GetPayStatusByOrderNoInput,
+ options?: API.RequestConfig
+) {
+ return request<API.LifePayStatusEnum>('/api/LifePay/GetPayStatusByOrderNo', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇璇濊垂闈㈠�� POST /api/LifePay/GetPhoneParValue */
+export async function getPhoneParValue(body: API.ChannelsBaseInput, options?: API.RequestConfig) {
return request<API.PhoneParValueResponse>('/api/LifePay/GetPhoneParValue', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鎵嬬画璐硅垂鐜� GET /api/LifePay/GetPremium */
+export async function getPremium(options?: API.RequestConfig) {
+ return request<API.LifePayPremiumListOutput[]>('/api/LifePay/GetPremium', {
method: 'GET',
...(options || {}),
});
@@ -82,6 +622,90 @@
export async function getRate(options?: API.RequestConfig) {
return request<API.LifePayRateListOutput[]>('/api/LifePay/GetRate', {
method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇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: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鎴戠殑鍏ㄩ儴鎴峰彿鍒楄〃 POST /api/LifePay/GetUserAccountAllList */
+export async function getUserAccountAllList(
+ body: API.QueryUserAccountAllListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.UserAccountOutput[]>('/api/LifePay/GetUserAccountAllList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鎴戠殑鎴峰彿璇︽儏 GET /api/LifePay/GetUserAccountDetail */
+export async function getUserAccountDetail(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserAccountDetailParams,
+ options?: API.RequestConfig
+) {
+ return request<API.UserAccountOutput>('/api/LifePay/GetUserAccountDetail', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鎴戠殑鎴峰彿鍒楄〃 POST /api/LifePay/GetUserAccountList */
+export async function getUserAccountList(
+ body: API.QueryUserAccountListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.UserAccountOutputPageOutput>('/api/LifePay/GetUserAccountList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鎴戠殑璁㈠崟璇︽儏 GET /api/LifePay/GetUserLifePayOrderDetail */
+export async function getUserLifePayOrderDetail(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserLifePayOrderDetailParams,
+ options?: API.RequestConfig
+) {
+ return request<API.UserLifePayOrderOutput>('/api/LifePay/GetUserLifePayOrderDetail', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
...(options || {}),
});
}
@@ -101,9 +725,66 @@
});
}
+/** 鐢ㄦ埛鏌ョ湅鐢熸椿缂磋垂閫�娆惧け璐ヨ鎯� GET /api/LifePay/GetUserLifePayOrderRefund */
+export async function getUserLifePayOrderRefund(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserLifePayOrderRefundParams,
+ options?: API.RequestConfig
+) {
+ return request<API.UserLifePayOrderRefundOutput>('/api/LifePay/GetUserLifePayOrderRefund', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
/** 鑾峰彇鐢ㄦ埛鍒嗛〉鏁版嵁 POST /api/LifePay/GetUserPage */
-export async function getUserPage(body: API.PageInput, options?: API.RequestConfig) {
+export async function getUserPage(body: API.QueryUserPageInput, options?: API.RequestConfig) {
return request<API.UserListOutputPageOutput>('/api/LifePay/GetUserPage', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏌ヨ鏀粯瀹濇敮浠樿鍗曚俊鎭� 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/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',
@@ -128,6 +809,51 @@
});
}
+/** 鐢ㄦ埛鍙戣捣鐢熸椿缂磋垂閫�娆� POST /api/LifePay/RefundUserLifePayOrder */
+export async function refundUserLifePayOrder(
+ body: API.RefundUserLifePayOrderInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/LifePay/RefundUserLifePayOrder', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 閫�娆鹃┏鍥� POST /api/LifePay/RejectRefundLifePayOrder */
+export async function rejectRefundLifePayOrder(
+ body: API.RefundLifePayOrderInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/LifePay/RejectRefundLifePayOrder', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁剧疆娓犻亾鍚敤鐘舵�� GET /api/LifePay/SetLifePayChannelsStatus */
+export async function setLifePayChannelsStatus(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIsetLifePayChannelsStatusParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/LifePay/SetLifePayChannelsStatus', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
/** 璁剧疆鐢熸椿缂磋垂鏀粯绫诲瀷 POST /api/LifePay/SetLifePayOrderPayType */
export async function setLifePayOrderPayType(
body: API.SetLifePayOrderPayTypeInput,
@@ -142,3 +868,78 @@
...(options || {}),
});
}
+
+/** 鑾峰彇鎸囧畾澶╂暟鐨勭粺璁℃暟鎹� 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,
+ 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