From 40c67b0b86d3428b4c0a320118641ebd687770df Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 13 十月 2025 13:53:06 +0800
Subject: [PATCH] feat: 微信

---
 src/services/api/enterpriseWallet.ts |   62 +++++++++++++++++++++++++++++-
 1 files changed, 59 insertions(+), 3 deletions(-)

diff --git a/src/services/api/enterpriseWallet.ts b/src/services/api/enterpriseWallet.ts
index a71c0c5..fc99708 100644
--- a/src/services/api/enterpriseWallet.ts
+++ b/src/services/api/enterpriseWallet.ts
@@ -239,6 +239,26 @@
   );
 }
 
+/** 鏌ヨ宸茬绾︿紒涓氶挶鍖呴�氶亾閫夋嫨鍣ㄦ暟鎹� 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 || {}),
+    }
+  );
+}
+
 /** 鏌ヨ鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠跺崟璇︽儏 GET /api/user/enterpriseWallet/getEnterpriseWalletExpandindirectOrder */
 export async function getEnterpriseWalletExpandindirectOrder(
   // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -275,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,
@@ -282,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: {
@@ -311,9 +367,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',

--
Gitblit v1.9.1