From 58e6c22b584ba40169753ec5038dec7d780c0bd3 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 17 十月 2025 19:47:30 +0800
Subject: [PATCH] Merge branch 'dev-1.2.0.1' of http://120.26.58.240:8888/r/flexJobMiniApp into dev-1.2.0.1
---
packages/services/apiV2/enterpriseWallet.ts | 208 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 205 insertions(+), 3 deletions(-)
diff --git a/packages/services/apiV2/enterpriseWallet.ts b/packages/services/apiV2/enterpriseWallet.ts
index a71c0c5..3ad6a31 100644
--- a/packages/services/apiV2/enterpriseWallet.ts
+++ b/packages/services/apiV2/enterpriseWallet.ts
@@ -239,6 +239,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 +313,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 +448,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,9 +495,9 @@
);
}
-/** 娴嬭瘯闃块噷鏀粯 POST /api/user/enterpriseWallet/testAliPay */
-export async function testAliPay(body: API.TestAliPayCommand, options?: API.RequestConfig) {
- return request<string>('/api/user/enterpriseWallet/testAliPay', {
+/** 娴嬭瘯寰俊鏀粯 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',
@@ -322,3 +506,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