From 05f8a54cbcc8ae34da3ae6fe2081e0ca6f82174e Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 21 十月 2025 14:44:18 +0800
Subject: [PATCH] fix: bug
---
src/services/api/enterpriseWallet.ts | 77 +++++++++++++++++++++++++++++++++-----
1 files changed, 67 insertions(+), 10 deletions(-)
diff --git a/src/services/api/enterpriseWallet.ts b/src/services/api/enterpriseWallet.ts
index 6679ddd..b146c99 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,
@@ -254,6 +269,24 @@
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 +354,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,14 +510,20 @@
);
}
-/** 娴嬭瘯寰俊鏀粯 POST /api/user/enterpriseWallet/testWeChatPay */
-export async function testWeChatPay(body: API.TestWeChatPayCommand, options?: API.RequestConfig) {
- return request<boolean>('/api/user/enterpriseWallet/testWeChatPay', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json-patch+json',
- },
- data: body,
- ...(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