From d33b55e5f1a22f77cb51c3da1a03a4fefccce71d Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期日, 19 十月 2025 15:22:20 +0800
Subject: [PATCH] fix: 验收管理
---
packages/services/apiV2/enterpriseWallet.ts | 224 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 213 insertions(+), 11 deletions(-)
diff --git a/packages/services/apiV2/enterpriseWallet.ts b/packages/services/apiV2/enterpriseWallet.ts
index b03ba6d..b146c99 100644
--- a/packages/services/apiV2/enterpriseWallet.ts
+++ b/packages/services/apiV2/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,
@@ -239,6 +254,44 @@
);
}
+/** 鏌ヨ宸茬绾︿紒涓氶挶鍖呴�氶亾閫夋嫨鍣ㄦ暟鎹� GET /api/user/enterpriseWallet/getEnterpriseWalletAccessSelect */
+export async function getEnterpriseWalletAccessSelect(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseWalletAccessSelectParams,
+ options?: API.RequestConfig
+) {
+ return request<API.SelectOptionGuidGetEnterpriseWalletAccessSelectQueryOption[]>(
+ '/api/user/enterpriseWallet/getEnterpriseWalletAccessSelect',
+ {
+ 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 || {}),
+ }
+ );
+}
+
/** 鏌ヨ鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠跺崟璇︽儏 GET /api/user/enterpriseWallet/getEnterpriseWalletExpandindirectOrder */
export async function getEnterpriseWalletExpandindirectOrder(
// 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -275,6 +328,134 @@
);
}
+/** 鏌ヨ浼佷笟寰俊鏀粯閽卞寘璇︽儏 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWallet */
+export async function getEnterpriseWeChatPayWallet(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseWeChatPayWalletParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWeChatPayWalletQueryResult>(
+ '/api/user/enterpriseWallet/getEnterpriseWeChatPayWallet',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟寰俊閽卞寘鍦板尯 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletAreas */
+export async function getEnterpriseWeChatPayWalletAreas(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseWeChatPayWalletAreasParams,
+ options?: API.RequestConfig
+) {
+ 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: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟寰俊鏀粯閽卞寘鏀鍒嗛〉鍒楄〃 POST /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankBranches */
+export async function getEnterpriseWeChatPayWalletBankBranches(
+ body: API.GetEnterpriseWeChatPayWalletBankBranchesQuery,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWeChatPayWalletBankBranchesQueryResult>(
+ '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankBranches',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟寰俊鏀粯閽卞寘閾惰鍩庡競鍒楄〃 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankCities */
+export async function getEnterpriseWeChatPayWalletBankCities(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseWeChatPayWalletBankCitiesParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWeChatPayWalletBankCitiesQueryItem[]>(
+ '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankCities',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟寰俊鏀粯閽卞寘閾惰鐪佷唤鍒楄〃 GET /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankProvinces */
+export async function getEnterpriseWeChatPayWalletBankProvinces(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseWeChatPayWalletBankProvincesParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWeChatPayWalletBankProvincesQueryItem[]>(
+ '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBankProvinces',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ request: undefined,
+ ...params['request'],
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟寰俊鏀粯閽卞寘閾惰鍒嗛〉鍒楄〃 POST /api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBanks */
+export async function getEnterpriseWeChatPayWalletBanks(
+ body: API.GetEnterpriseWeChatPayWalletBanksQuery,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWeChatPayWalletBanksQueryResult>(
+ '/api/user/enterpriseWallet/getEnterpriseWeChatPayWalletBanks',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
/** 寮�閫氫紒涓氶挶鍖� POST /api/user/enterpriseWallet/openEnterpriseWallet */
export async function openEnterpriseWallet(
body: API.OpenEnterpriseWalletCommand,
@@ -282,6 +463,24 @@
) {
return request<API.OpenEnterpriseWalletCommandResult>(
'/api/user/enterpriseWallet/openEnterpriseWallet',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 寮�閫氫紒涓氬井淇¢挶鍖� POST /api/user/enterpriseWallet/openEnterpriseWeChatPayWallet */
+export async function openEnterpriseWeChatPayWallet(
+ body: API.OpenEnterpriseWeChatPayWalletCommand,
+ options?: API.RequestConfig
+) {
+ return request<API.OpenEnterpriseWeChatPayWalletCommandResult>(
+ '/api/user/enterpriseWallet/openEnterpriseWeChatPayWallet',
{
method: 'POST',
headers: {
@@ -311,17 +510,20 @@
);
}
-/** 浼佷笟閽卞寘杞处 POST /api/user/enterpriseWallet/transferEnterpriseWallet */
-export async function transferEnterpriseWallet(
- body: API.TransferEnterpriseWalletCommand,
+/** 淇敼浼佷笟寰俊鏀粯閽卞寘缁撶畻璐︽埛 POST /api/user/enterpriseWallet/updateEnterpriseWeChatPayWalletBankAccountInfo */
+export async function updateEnterpriseWeChatPayWalletBankAccountInfo(
+ body: API.UpdateEnterpriseWeChatPayWalletBankAccountInfoCommand,
options?: API.RequestConfig
) {
- return request<string>('/api/user/enterpriseWallet/transferEnterpriseWallet', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json-patch+json',
- },
- data: body,
- ...(options || {}),
- });
+ return request<API.UpdateEnterpriseWeChatPayWalletBankAccountInfoCommandResult>(
+ '/api/user/enterpriseWallet/updateEnterpriseWeChatPayWalletBankAccountInfo',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
}
--
Gitblit v1.9.1