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 | 512 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 495 insertions(+), 17 deletions(-)
diff --git a/packages/services/apiV2/enterpriseWallet.ts b/packages/services/apiV2/enterpriseWallet.ts
index 3016da8..3ad6a31 100644
--- a/packages/services/apiV2/enterpriseWallet.ts
+++ b/packages/services/apiV2/enterpriseWallet.ts
@@ -2,42 +2,160 @@
// @ts-ignore
import { request } from '@/utils/request';
-/** 鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠� POST /api/user/enterpriseWallet/alipayFundExpandindirectCreate */
-export async function alipayFundExpandindirectCreate(
- body: API.AlipayFundExpandindirectCreateCommand,
+/** 鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠剁姸鎬侀�氱煡 POST /api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify */
+export async function alipayFundExpandindirectCreateNotify(
+ body: {
+ /** 閫氱煡ID */
+ notify_id?: string;
+ /** 娑堟伅鍙戦�佹椂鐨勬湇鍔$鏃堕棿 */
+ utc_timestamp?: string;
+ /** 娑堟伅鎺ュ彛鍚嶇О */
+ msg_method?: string;
+ /** 娑堟伅鎺ュ彈鏂圭殑搴旂敤id */
+ app_id?: string;
+ /** 鐗堟湰鍙�(1.1鐗堟湰涓烘爣鍑嗘秷鎭�) */
+ version?: string;
+ /** 娑堟伅鎶ユ枃 */
+ biz_content?: string;
+ /** 绛惧悕 */
+ sign?: string;
+ /** 绛惧悕绫诲瀷 */
+ sign_type?: string;
+ /** 缂栫爜闆嗭紝璇ュ瓧绗﹂泦涓洪獙绛惧拰瑙e瘑鎵�闇�瑕佺殑瀛楃闆� */
+ charset?: string;
+ },
options?: API.RequestConfig
) {
- return request<boolean>('/api/user/enterpriseWallet/alipayFundExpandindirectCreate', {
+ const formData = new FormData();
+
+ Object.keys(body).forEach((ele) => {
+ const item = (body as any)[ele];
+
+ if (item !== undefined && item !== null) {
+ formData.append(
+ ele,
+ typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item
+ );
+ }
+ });
+
+ return request<string>('/api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify', {
method: 'POST',
- headers: {
- 'Content-Type': 'application/json-patch+json',
- },
- data: body,
+ data: formData,
+ requestType: 'form',
...(options || {}),
});
}
-/** 璧勯噾浜岀骇鍟嗘埛KYB浠h繘浠剁姸鎬侀�氱煡鎺ュ彛 POST /api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify */
-export async function alipayFundExpandindirectCreateNotify(
- body: API.AlipayFundExpandindirectCreateNotifyCommand,
+/** 璧勯噾鍗曟嵁鐘舵�佸彉鏇撮�氱煡 POST /api/user/enterpriseWallet/alipayFundTransOrderChangedNotify */
+export async function alipayFundTransOrderChangedNotify(
+ body: {
+ /** 閫氱煡ID */
+ notify_id?: string;
+ /** 娑堟伅鍙戦�佹椂鐨勬湇鍔$鏃堕棿 */
+ utc_timestamp?: string;
+ /** 娑堟伅鎺ュ彛鍚嶇О */
+ msg_method?: string;
+ /** 娑堟伅鎺ュ彈鏂圭殑搴旂敤id */
+ app_id?: string;
+ /** 鐗堟湰鍙�(1.1鐗堟湰涓烘爣鍑嗘秷鎭�) */
+ version?: string;
+ /** 娑堟伅鎶ユ枃 */
+ biz_content?: string;
+ /** 绛惧悕 */
+ sign?: string;
+ /** 绛惧悕绫诲瀷 */
+ sign_type?: string;
+ /** 缂栫爜闆嗭紝璇ュ瓧绗﹂泦涓洪獙绛惧拰瑙e瘑鎵�闇�瑕佺殑瀛楃闆� */
+ charset?: string;
+ },
options?: API.RequestConfig
) {
- return request<boolean>('/api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify', {
+ const formData = new FormData();
+
+ Object.keys(body).forEach((ele) => {
+ const item = (body as any)[ele];
+
+ if (item !== undefined && item !== null) {
+ formData.append(
+ ele,
+ typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item
+ );
+ }
+ });
+
+ return request<boolean>('/api/user/enterpriseWallet/alipayFundTransOrderChangedNotify', {
method: 'POST',
- headers: {
- 'Content-Type': 'application/json-patch+json',
- },
- data: body,
+ data: formData,
+ requestType: 'form',
...(options || {}),
});
}
/** 鏀粯瀹濈敤鎴锋巿鏉冨崗璁绾﹂�氱煡 POST /api/user/enterpriseWallet/alipayUserAgreementPageSignNotify */
export async function alipayUserAgreementPageSignNotify(
- body: API.AlipayUserAgreementPageSignNotifyQuery,
+ body: {
+ notify_id?: string;
+ notify_time?: string;
+ sign_type?: string;
+ sign?: string;
+ invalid_time?: string;
+ sign_scene?: string;
+ sign_time?: string;
+ alipay_user_id?: string;
+ status?: string;
+ forex_eligible?: string;
+ external_logon_id?: string;
+ app_id?: string;
+ auth_app_id?: string;
+ external_agreement_no?: string;
+ personal_product_code?: string;
+ valid_time?: string;
+ agreement_no?: string;
+ zm_open_id?: string;
+ alipay_open_id?: string;
+ merchant_app_id?: string;
+ alipay_logon_id?: string;
+ notify_type?: string;
+ zm_score?: string;
+ single_quota?: string;
+ login_token?: string;
+ device_id?: string;
+ credit_auth_mode?: string;
+ specified_sort_assets?: string;
+ partner_id?: string;
+ modify_type?: string;
+ next_deduct_time?: string;
+ },
options?: API.RequestConfig
) {
+ const formData = new FormData();
+
+ Object.keys(body).forEach((ele) => {
+ const item = (body as any)[ele];
+
+ if (item !== undefined && item !== null) {
+ formData.append(
+ ele,
+ typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item
+ );
+ }
+ });
+
return request<boolean>('/api/user/enterpriseWallet/alipayUserAgreementPageSignNotify', {
+ method: 'POST',
+ data: formData,
+ requestType: 'form',
+ ...(options || {}),
+ });
+}
+
+/** 鍏抽棴浼佷笟閽卞寘 POST /api/user/enterpriseWallet/closeEnterpriseWallet */
+export async function closeEnterpriseWallet(
+ body: API.CloseEnterpriseWalletCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterpriseWallet/closeEnterpriseWallet', {
method: 'POST',
headers: {
'Content-Type': 'application/json-patch+json',
@@ -46,3 +164,363 @@
...(options || {}),
});
}
+
+/** 鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠� POST /api/user/enterpriseWallet/enterpriseWalletExpandindirectCreate */
+export async function enterpriseWalletExpandindirectCreate(
+ body: API.EnterpriseWalletExpandindirectCreateCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterpriseWallet/enterpriseWalletExpandindirectCreate', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠跺崟鍙栨秷鎺ュ彛 POST /api/user/enterpriseWallet/enterpriseWalletExpandindirectOrderCancel */
+export async function enterpriseWalletExpandindirectOrderCancel(
+ body: API.EnterpriseWalletExpandindirectOrderCancelCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterpriseWallet/enterpriseWalletExpandindirectOrderCancel', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏀粯瀹濋�氱煡鍥炰紶 GET /api/user/enterpriseWallet/getAlipayNotify */
+export async function getAlipayNotify(
+ body: API.GetAlipayNotifyCommand,
+ options?: API.RequestConfig
+) {
+ const formData = new FormData();
+
+ Object.keys(body).forEach((ele) => {
+ const item = (body as any)[ele];
+
+ if (item !== undefined && item !== null) {
+ formData.append(
+ ele,
+ typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item
+ );
+ }
+ });
+
+ return request<boolean>('/api/user/enterpriseWallet/getAlipayNotify', {
+ method: 'GET',
+ data: formData,
+ requestType: 'form',
+ ...(options || {}),
+ });
+}
+
+/** 鏌ヨ浼佷笟閽卞寘璇︽儏 GET /api/user/enterpriseWallet/getEnterpriseWallet */
+export async function getEnterpriseWallet(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseWalletParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWalletQueryResult>(
+ '/api/user/enterpriseWallet/getEnterpriseWallet',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ宸茬绾︿紒涓氶挶鍖呴�氶亾閫夋嫨鍣ㄦ暟鎹� 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榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseWalletExpandindirectOrderParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWalletExpandindirectOrderQueryResult>(
+ '/api/user/enterpriseWallet/getEnterpriseWalletExpandindirectOrder',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟閽卞寘浜ゆ槗璇︽儏 GET /api/user/enterpriseWallet/getEnterpriseWalletTransaction */
+export async function getEnterpriseWalletTransaction(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseWalletTransactionParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseWalletTransactionQueryResult>(
+ '/api/user/enterpriseWallet/getEnterpriseWalletTransaction',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ浼佷笟寰俊鏀粯閽卞寘璇︽儏 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,
+ options?: API.RequestConfig
+) {
+ 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: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 浼佷笟閽卞寘鍏呭�� POST /api/user/enterpriseWallet/rechargeEnterpriseWallet */
+export async function rechargeEnterpriseWallet(
+ body: API.RechargeEnterpriseWalletCommand,
+ options?: API.RequestConfig
+) {
+ return request<API.RechargeEnterpriseWalletCommandResult>(
+ '/api/user/enterpriseWallet/rechargeEnterpriseWallet',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 娴嬭瘯寰俊鏀粯 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