From 6695ef01506e6f7de7f90b4bf47076e49d9f7eae Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 09 九月 2025 10:44:41 +0800
Subject: [PATCH] fix: bug

---
 packages/services/apiV2/enterpriseWallet.ts |  184 +++++++++++++++++++++++++++++-----------------
 1 files changed, 116 insertions(+), 68 deletions(-)

diff --git a/packages/services/apiV2/enterpriseWallet.ts b/packages/services/apiV2/enterpriseWallet.ts
index 944d7dc..b03ba6d 100644
--- a/packages/services/apiV2/enterpriseWallet.ts
+++ b/packages/services/apiV2/enterpriseWallet.ts
@@ -2,21 +2,6 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
-/** 鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠� POST /api/user/enterpriseWallet/alipayFundExpandindirectCreate */
-export async function alipayFundExpandindirectCreate(
-  body: API.AlipayFundExpandindirectCreateCommand,
-  options?: API.RequestConfig
-) {
-  return request<string>('/api/user/enterpriseWallet/alipayFundExpandindirectCreate', {
-    method: 'POST',
-    headers: {
-      'Content-Type': 'application/json-patch+json',
-    },
-    data: body,
-    ...(options || {}),
-  });
-}
-
 /** 鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠剁姸鎬侀�氱煡 POST /api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify */
 export async function alipayFundExpandindirectCreateNotify(
   body: {
@@ -62,22 +47,31 @@
   });
 }
 
-/** 鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠舵枃浠朵笂浼犳帴鍙� POST /api/user/enterpriseWallet/alipayFundExpandindirectImageUpload */
-export async function alipayFundExpandindirectImageUpload(
+/** 璧勯噾鍗曟嵁鐘舵�佸彉鏇撮�氱煡 POST /api/user/enterpriseWallet/alipayFundTransOrderChangedNotify */
+export async function alipayFundTransOrderChangedNotify(
   body: {
-    /** 浜у搧鐮� */
-    ProductCode?: string;
-    /** 鍦烘櫙鐮� */
-    BizScene?: string;
+    /** 閫氱煡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;
   },
-  File?: File,
   options?: API.RequestConfig
 ) {
   const formData = new FormData();
-
-  if (File) {
-    formData.append('File', File);
-  }
 
   Object.keys(body).forEach((ele) => {
     const item = (body as any)[ele];
@@ -90,37 +84,10 @@
     }
   });
 
-  return request<string>('/api/user/enterpriseWallet/alipayFundExpandindirectImageUpload', {
+  return request<boolean>('/api/user/enterpriseWallet/alipayFundTransOrderChangedNotify', {
     method: 'POST',
     data: formData,
     requestType: 'form',
-    ...(options || {}),
-  });
-}
-
-/** 鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠跺崟鍙栨秷鎺ュ彛 POST /api/user/enterpriseWallet/alipayFundExpandindirectOrderCancel */
-export async function alipayFundExpandindirectOrderCancel(
-  body: API.AlipayFundExpandindirectOrderCancelCommand,
-  options?: API.RequestConfig
-) {
-  return request<string>('/api/user/enterpriseWallet/alipayFundExpandindirectOrderCancel', {
-    method: 'POST',
-    headers: {
-      'Content-Type': 'application/json-patch+json',
-    },
-    data: body,
-    ...(options || {}),
-  });
-}
-
-/** 杞处 POST /api/user/enterpriseWallet/alipayTransfer */
-export async function alipayTransfer(body: API.AlipayTransferCommand, options?: API.RequestConfig) {
-  return request<string>('/api/user/enterpriseWallet/alipayTransfer', {
-    method: 'POST',
-    headers: {
-      'Content-Type': 'application/json-patch+json',
-    },
-    data: body,
     ...(options || {}),
   });
 }
@@ -198,22 +165,34 @@
   });
 }
 
-/** 鏌ヨ鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠跺崟璇︽儏 GET /api/user/enterpriseWallet/getAlipayFundExpandindirectOrder */
-export async function getAlipayFundExpandindirectOrder(
-  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
-  params: API.APIgetAlipayFundExpandindirectOrderParams,
+/** 鏀粯瀹濊祫閲戜簩绾у晢鎴稫YB浠h繘浠� POST /api/user/enterpriseWallet/enterpriseWalletExpandindirectCreate */
+export async function enterpriseWalletExpandindirectCreate(
+  body: API.EnterpriseWalletExpandindirectCreateCommand,
   options?: API.RequestConfig
 ) {
-  return request<API.GetAlipayFundExpandindirectOrderQueryResult>(
-    '/api/user/enterpriseWallet/getAlipayFundExpandindirectOrder',
-    {
-      method: 'GET',
-      params: {
-        ...params,
-      },
-      ...(options || {}),
-    }
-  );
+  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 */
@@ -260,6 +239,42 @@
   );
 }
 
+/** 鏌ヨ鏀粯瀹濊祫閲戜簩绾у晢鎴稫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 || {}),
+    }
+  );
+}
+
 /** 寮�閫氫紒涓氶挶鍖� POST /api/user/enterpriseWallet/openEnterpriseWallet */
 export async function openEnterpriseWallet(
   body: API.OpenEnterpriseWalletCommand,
@@ -277,3 +292,36 @@
     }
   );
 }
+
+/** 浼佷笟閽卞寘鍏呭�� 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/transferEnterpriseWallet */
+export async function transferEnterpriseWallet(
+  body: API.TransferEnterpriseWalletCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/enterpriseWallet/transferEnterpriseWallet', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

--
Gitblit v1.9.1