From aceaa78144032843c543b0ba3a54bed9c529c0c1 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 13 十月 2025 13:54:07 +0800 Subject: [PATCH] fix: s --- src/services/api/enterpriseWallet.ts | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/src/services/api/enterpriseWallet.ts b/src/services/api/enterpriseWallet.ts index 3ccb9f2..fc99708 100644 --- a/src/services/api/enterpriseWallet.ts +++ b/src/services/api/enterpriseWallet.ts @@ -295,6 +295,24 @@ ); } +/** 鏌ヨ浼佷笟寰俊鏀粯閽卞寘璇︽儏 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 || {}), + } + ); +} + /** 寮�閫氫紒涓氶挶鍖� POST /api/user/enterpriseWallet/openEnterpriseWallet */ export async function openEnterpriseWallet( body: API.OpenEnterpriseWalletCommand, @@ -302,6 +320,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: { @@ -330,3 +366,15 @@ } ); } + +/** 娴嬭瘯寰俊鏀粯 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 || {}), + }); +} -- Gitblit v1.9.1