From db365a5eff31c040c42463df4966bf34a5de6a6d Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 12 三月 2025 15:00:42 +0800
Subject: [PATCH] fix: 二期需求

---
 packages/services/api/LifePay.ts |  102 +++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 79 insertions(+), 23 deletions(-)

diff --git a/packages/services/api/LifePay.ts b/packages/services/api/LifePay.ts
index af5b26a..1383efa 100644
--- a/packages/services/api/LifePay.ts
+++ b/packages/services/api/LifePay.ts
@@ -112,7 +112,7 @@
   body: API.QueryUserAccountListInput,
   options?: API.RequestConfig
 ) {
-  return request<API.UserAccountListOutputPageOutput>('/api/LifePay/GetAccountPage', {
+  return request<API.UserAccountOutputPageOutput>('/api/LifePay/GetAccountPage', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json',
@@ -122,34 +122,56 @@
   });
 }
 
-/** 鑾峰彇鐢佃垂闈㈠�� GET /api/LifePay/GetElectricParValue */
-export async function getElectricParValue(options?: API.RequestConfig) {
+/** 鑾峰彇鐢佃垂闈㈠�� POST /api/LifePay/GetElectricParValue */
+export async function getElectricParValue(
+  body: API.ChannelsBaseInput,
+  options?: API.RequestConfig
+) {
   return request<API.ElectricParValueResponse>('/api/LifePay/GetElectricParValue', {
-    method: 'GET',
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
     ...(options || {}),
   });
 }
 
-/** 鑾峰彇鐢佃垂鍏呭�煎尯鍩� GET /api/LifePay/GetElectricSupportArea */
-export async function getElectricSupportArea(options?: API.RequestConfig) {
+/** 鑾峰彇鐢佃垂鍏呭�煎尯鍩� POST /api/LifePay/GetElectricSupportArea */
+export async function getElectricSupportArea(
+  body: API.ChannelsBaseInput,
+  options?: API.RequestConfig
+) {
   return request<API.ElectricSupportAreaResponse>('/api/LifePay/GetElectricSupportArea', {
-    method: 'GET',
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
     ...(options || {}),
   });
 }
 
-/** 鑾峰彇鐕冩皵鏀寔鍟嗘埛 GET /api/LifePay/GetGasOrgType */
-export async function getGasOrgType(options?: API.RequestConfig) {
+/** 鑾峰彇鐕冩皵鏀寔鍟嗘埛 POST /api/LifePay/GetGasOrgType */
+export async function getGasOrgType(body: API.ChannelsBaseInput, options?: API.RequestConfig) {
   return request<API.GasOrgTypeValueResponse>('/api/LifePay/GetGasOrgType', {
-    method: 'GET',
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
     ...(options || {}),
   });
 }
 
-/** 鑾峰彇鐕冩皵闈㈠�� GET /api/LifePay/GetGasParValue */
-export async function getGasParValue(options?: API.RequestConfig) {
+/** 鑾峰彇鐕冩皵闈㈠�� POST /api/LifePay/GetGasParValue */
+export async function getGasParValue(body: API.ChannelsBaseInput, options?: API.RequestConfig) {
   return request<API.GasParValueResponse>('/api/LifePay/GetGasParValue', {
-    method: 'GET',
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
     ...(options || {}),
   });
 }
@@ -196,7 +218,7 @@
   });
 }
 
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/LifePay/GetLifePayOrderPageExport */
+/** 瀵煎嚭璁㈠崟Excel POST /api/LifePay/GetLifePayOrderPageExport */
 export async function getLifePayOrderPageExport(
   body: API.QueryLifePayOrderListInput,
   options?: API.RequestConfig
@@ -228,23 +250,27 @@
 
 /** 鏍规嵁璁㈠崟鍙疯幏鍙栨敮浠樼姸鎬� GET /api/LifePay/GetPayStatusByOrderNo */
 export async function getPayStatusByOrderNo(
-  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
-  params: API.APIgetPayStatusByOrderNoParams,
+  body: API.GetPayStatusByOrderNoInput,
   options?: API.RequestConfig
 ) {
   return request<API.LifePayStatusEnum>('/api/LifePay/GetPayStatusByOrderNo', {
     method: 'GET',
-    params: {
-      ...params,
+    headers: {
+      'Content-Type': 'application/json',
     },
+    data: body,
     ...(options || {}),
   });
 }
 
-/** 鑾峰彇璇濊垂闈㈠�� GET /api/LifePay/GetPhoneParValue */
-export async function getPhoneParValue(options?: API.RequestConfig) {
+/** 鑾峰彇璇濊垂闈㈠�� POST /api/LifePay/GetPhoneParValue */
+export async function getPhoneParValue(body: API.ChannelsBaseInput, options?: API.RequestConfig) {
   return request<API.PhoneParValueResponse>('/api/LifePay/GetPhoneParValue', {
-    method: 'GET',
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
     ...(options || {}),
   });
 }
@@ -262,7 +288,7 @@
   body: API.QueryUserAccountAllListInput,
   options?: API.RequestConfig
 ) {
-  return request<API.UserAccountListOutput[]>('/api/LifePay/GetUserAccountAllList', {
+  return request<API.UserAccountOutput[]>('/api/LifePay/GetUserAccountAllList', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json',
@@ -272,12 +298,27 @@
   });
 }
 
+/** 鑾峰彇鎴戠殑鎴峰彿璇︽儏 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.UserAccountListOutputPageOutput>('/api/LifePay/GetUserAccountList', {
+  return request<API.UserAccountOutputPageOutput>('/api/LifePay/GetUserAccountList', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json',
@@ -287,6 +328,21 @@
   });
 }
 
+/** 鑾峰彇鎴戠殑璁㈠崟璇︽儏 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 || {}),
+  });
+}
+
 /** 鑾峰彇鎴戠殑璁㈠崟鍒嗛〉鏁版嵁 POST /api/LifePay/GetUserLifePayOrderPage */
 export async function getUserLifePayOrderPage(
   body: API.QueryLifePayOrderListInput,

--
Gitblit v1.9.1