From 6a5d66d21df56c4549648b259609419e357e9470 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 21 三月 2025 17:17:00 +0800
Subject: [PATCH] fix: 三期需求
---
packages/services/api/LifePay.ts | 70 ++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+), 1 deletions(-)
diff --git a/packages/services/api/LifePay.ts b/packages/services/api/LifePay.ts
index 684ae8d..4b405d6 100644
--- a/packages/services/api/LifePay.ts
+++ b/packages/services/api/LifePay.ts
@@ -161,6 +161,21 @@
});
}
+/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 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/GetElectricParValue */
export async function getElectricParValue(
body: API.ChannelsBaseInput,
@@ -265,6 +280,21 @@
});
}
+/** 鑾峰彇璁㈠崟璇︽儏 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 || {}),
+ });
+}
+
/** 鑾峰彇璁㈠崟鍒嗛〉鏁版嵁 POST /api/LifePay/GetLifePayOrderPage */
export async function getLifePayOrderPage(
body: API.QueryLifePayOrderListInput,
@@ -286,6 +316,36 @@
options?: API.RequestConfig
) {
return request<any>('/api/LifePay/GetLifePayOrderPageExport', {
+ 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,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇閫�娆捐鍗曞垎椤垫暟鎹� 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',
@@ -348,6 +408,14 @@
/** 鑾峰彇鎶樻墸 GET /api/LifePay/GetRate */
export async function getRate(options?: API.RequestConfig) {
return request<API.LifePayRateListOutput[]>('/api/LifePay/GetRate', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇椤堕儴缁熻鏁版嵁 GET /api/LifePay/GetTopStatistics */
+export async function getTopStatistics(options?: API.RequestConfig) {
+ return request<API.TopStatisticsOutput>('/api/LifePay/GetTopStatistics', {
method: 'GET',
...(options || {}),
});
@@ -444,7 +512,7 @@
}
/** 鑾峰彇鐢ㄦ埛鍒嗛〉鏁版嵁 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: {
--
Gitblit v1.9.1