From 73840ef4afda49433734f64e70634ee0ffc8b1d5 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 15 十月 2025 10:37:00 +0800
Subject: [PATCH] feat: 结算新增微信

---
 src/services/api/enterpriseWallet.ts |  176 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 176 insertions(+), 0 deletions(-)

diff --git a/src/services/api/enterpriseWallet.ts b/src/services/api/enterpriseWallet.ts
index 3ccb9f2..917fced 100644
--- a/src/services/api/enterpriseWallet.ts
+++ b/src/services/api/enterpriseWallet.ts
@@ -295,6 +295,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,
@@ -313,6 +441,24 @@
   );
 }
 
+/** 寮�閫氫紒涓氬井淇¢挶鍖� 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,
@@ -330,3 +476,33 @@
     }
   );
 }
+
+/** 娴嬭瘯寰俊鏀粯 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