From 5cc0cbeb28fa80bb734f007248eca2a4c69172c4 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 12 十二月 2025 13:19:55 +0800
Subject: [PATCH] feat: 页面
---
src/services/api/enterpriseWallet.ts | 80 +++++++++++++++++++++++++++++++++++++--
1 files changed, 75 insertions(+), 5 deletions(-)
diff --git a/src/services/api/enterpriseWallet.ts b/src/services/api/enterpriseWallet.ts
index 6679ddd..36618fa 100644
--- a/src/services/api/enterpriseWallet.ts
+++ b/src/services/api/enterpriseWallet.ts
@@ -195,6 +195,21 @@
});
}
+/** 瀵煎嚭浼佷笟浣欓璇︽儏 POST /api/user/enterpriseWallet/exportEnterpriseBalanceDetails */
+export async function exportEnterpriseBalanceDetails(
+ body: API.ExportEnterpriseBalanceDetailsCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterpriseWallet/exportEnterpriseBalanceDetails', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 鏀粯瀹濋�氱煡鍥炰紶 GET /api/user/enterpriseWallet/getAlipayNotify */
export async function getAlipayNotify(
body: API.GetAlipayNotifyCommand,
@@ -251,9 +266,25 @@
method: 'GET',
params: {
...params,
- request: undefined,
- ...params['request'],
},
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟閽卞寘浣欓 POST /api/user/enterpriseWallet/getEnterpriseWalletBalances */
+export async function getEnterpriseWalletBalances(
+ body: API.GetEnterpriseWalletBalancesQuery,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWalletBalancesQueryResult>(
+ '/api/user/enterpriseWallet/getEnterpriseWalletBalances',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
...(options || {}),
}
);
@@ -321,6 +352,24 @@
) {
return request<API.WeChatPayArea[]>(
'/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletAreas',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟寰俊鏀粯閾惰璐︽埛鏇存柊淇℃伅 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankAccountUpdateInfo */
+export async function getEnterpriseWeChatPayWalletBankAccountUpdateInfo(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseWeChatPayWalletBankAccountUpdateInfoParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWeChatPayWalletBankAccountUpdateInfoQueryResult>(
+ '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankAccountUpdateInfo',
{
method: 'GET',
params: {
@@ -459,9 +508,12 @@
);
}
-/** 娴嬭瘯寰俊鏀粯 POST /api/user/enterpriseWallet/testWeChatPay */
-export async function testWeChatPay(body: API.TestWeChatPayCommand, options?: API.RequestConfig) {
- return request<boolean>('/api/user/enterpriseWallet/testWeChatPay', {
+/** 1.3.0.2鐗堟湰淇浼佷笟閽卞寘浜ゆ槗鏁版嵁 POST /api/user/enterpriseWallet/repairEnterpriseWalletTransaction_1_3_0_2 */
+export async function repairEnterpriseWalletTransaction1302(
+ body: API.RepairEnterpriseWalletTransaction1302Command,
+ options?: API.RequestConfig
+) {
+ return request<boolean>('/api/user/enterpriseWallet/repairEnterpriseWalletTransaction_1_3_0_2', {
method: 'POST',
headers: {
'Content-Type': 'application/json-patch+json',
@@ -470,3 +522,21 @@
...(options || {}),
});
}
+
+/** 淇敼浼佷笟寰俊鏀粯閽卞寘缁撶畻璐︽埛 POST /api/user/enterpriseWallet/updateEnterpriseWeChatPayWalletBankAccountInfo */
+export async function updateEnterpriseWeChatPayWalletBankAccountInfo(
+ body: API.UpdateEnterpriseWeChatPayWalletBankAccountInfoCommand,
+ options?: API.RequestConfig
+) {
+ return request<API.UpdateEnterpriseWeChatPayWalletBankAccountInfoCommandResult>(
+ '/api/user/enterpriseWallet/updateEnterpriseWeChatPayWalletBankAccountInfo',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
--
Gitblit v1.9.1