From c2463c02a17f92df55ec77ed2da3fb724290c072 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 17:34:30 +0800
Subject: [PATCH] fix: bug

---
 packages/services/apiV2/user.ts |  271 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 257 insertions(+), 14 deletions(-)

diff --git a/packages/services/apiV2/user.ts b/packages/services/apiV2/user.ts
index 7e0df87..00b2379 100644
--- a/packages/services/apiV2/user.ts
+++ b/packages/services/apiV2/user.ts
@@ -2,22 +2,64 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
-/** 鏌ヨ杩愯惀绔敤鎴峰垎椤靛垪琛ㄦ暟鎹� POST /api/user/user/getOperationUserInfos */
-export async function getOperationUserInfos(
-  body: API.GetOperationUserInfosQuery,
+/** 鐢熸垚鎿嶄綔浠ょ墝 POST /api/user/user/buildOperatorToken */
+export async function buildOperatorToken(
+  body: API.BuildOperatorTokenCommand,
   options?: API.RequestConfig
 ) {
-  return request<API.PagedListQueryResultGetOperationUserInfosQueryResultItem>(
-    '/api/user/user/getOperationUserInfos',
-    {
-      method: 'POST',
-      headers: {
-        'Content-Type': 'application/json-patch+json',
-      },
-      data: body,
-      ...(options || {}),
-    }
-  );
+  return request<API.BuildOperatorTokenCommandResult>('/api/user/user/buildOperatorToken', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 鏍¢獙鎿嶄綔浠ょ墝 POST /api/user/user/checkOperatorToken */
+export async function checkOperatorToken(
+  body: API.CheckOperatorTokenCommand,
+  options?: API.RequestConfig
+) {
+  return request<boolean>('/api/user/user/checkOperatorToken', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 鍒犻櫎鐢ㄦ埛閾惰鍗′俊鎭� DELETE /api/user/user/deletePersonalUserBankCard */
+export async function deletePersonalUserBankCard(
+  body: API.DeletePersonalUserBankCardCommand,
+  options?: API.RequestConfig
+) {
+  return request<number>('/api/user/user/deletePersonalUserBankCard', {
+    method: 'DELETE',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 鏌ヨ涓汉鐢ㄦ埛閾惰鍗′俊鎭� GET /api/user/user/getPersonalUserBankCard */
+export async function getPersonalUserBankCard(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetPersonalUserBankCardParams,
+  options?: API.RequestConfig
+) {
+  return request<API.GetPersonalUserBankCardQueryResult>('/api/user/user/getPersonalUserBankCard', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
 }
 
 /** 鏌ヨC绔汉鍛樺垎椤靛垪琛ㄦ暟鎹� POST /api/user/user/getPersonalUserInfos */
@@ -35,6 +77,93 @@
   });
 }
 
+/** 鏌ヨC绔汉鍛樼绾﹁鎯呭垎椤靛垪琛ㄦ暟鎹� POST /api/user/user/getPersonalUserInfoSignContracts */
+export async function getPersonalUserInfoSignContracts(
+  body: API.GetPersonalUserInfoSignContractsQuery,
+  options?: API.RequestConfig
+) {
+  return request<API.GetPersonalUserInfoSignContractsQueryResult>(
+    '/api/user/user/getPersonalUserInfoSignContracts',
+    {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json-patch+json',
+      },
+      data: body,
+      ...(options || {}),
+    }
+  );
+}
+
+/** 鏌ヨ涓汉鐢ㄦ埛鏀舵敮鏄庣粏璇︽儏 GET /api/user/user/getPersonalUserTransaction */
+export async function getPersonalUserTransaction(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetPersonalUserTransactionParams,
+  options?: API.RequestConfig
+) {
+  return request<API.GetPersonalUserTransactionQueryResult>(
+    '/api/user/user/getPersonalUserTransaction',
+    {
+      method: 'GET',
+      params: {
+        ...params,
+      },
+      ...(options || {}),
+    }
+  );
+}
+
+/** 鏌ヨ涓汉鐢ㄦ埛鏀舵敮鏄庣粏鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/user/getPersonalUserTransactions */
+export async function getPersonalUserTransactions(
+  body: API.GetPersonalUserTransactionsQuery,
+  options?: API.RequestConfig
+) {
+  return request<API.GetPersonalUserTransactionsQueryResult>(
+    '/api/user/user/getPersonalUserTransactions',
+    {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json-patch+json',
+      },
+      data: body,
+      ...(options || {}),
+    }
+  );
+}
+
+/** 鏌ヨ涓汉閽卞寘浣欓鍒嗛〉鍒楄〃 POST /api/user/user/getPersonalUserWalletBalances */
+export async function getPersonalUserWalletBalances(
+  body: API.GetPersonalUserWalletBalancesQuery,
+  options?: API.RequestConfig
+) {
+  return request<API.GetPersonalUserWalletBalancesQueryResult>(
+    '/api/user/user/getPersonalUserWalletBalances',
+    {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json-patch+json',
+      },
+      data: body,
+      ...(options || {}),
+    }
+  );
+}
+
+/** 鏌ヨ鐢ㄦ埛璇︽儏 GET /api/user/user/getUser */
+export async function getUser(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetUserParams,
+  options?: API.RequestConfig
+) {
+  return request<API.GetUserQueryResult>('/api/user/user/getUser', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
 /** 鏌ヨ鐢ㄦ埛瑙掕壊鍒楄〃 GET /api/user/user/getUserInfoRoles */
 export async function getUserInfoRoles(
   // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -46,6 +175,90 @@
     params: {
       ...params,
     },
+    ...(options || {}),
+  });
+}
+
+/** 鏌ヨ鐢ㄦ埛鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/user/getUsers */
+export async function getUsers(body: API.GetUsersQuery, options?: API.RequestConfig) {
+  return request<API.GetOperationUserInfosQueryResult>('/api/user/user/getUsers', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 閲嶇疆鐢ㄦ埛鎿嶄綔瀵嗙爜 POST /api/user/user/resetUserOperatorPasswords */
+export async function resetUserOperatorPasswords(
+  body: API.ResetUserOperatorPasswordsCommand,
+  options?: API.RequestConfig
+) {
+  return request<number>('/api/user/user/resetUserOperatorPasswords', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 閲嶇疆鐢ㄦ埛瀵嗙爜 POST /api/user/user/resetUserPasswords */
+export async function resetUserPasswords(
+  body: API.ResetUserPasswordsCommand,
+  options?: API.RequestConfig
+) {
+  return request<number>('/api/user/user/resetUserPasswords', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 淇濆瓨鐢ㄦ埛閾惰鍗′俊鎭� POST /api/user/user/savePersonalUserBankCard */
+export async function savePersonalUserBankCard(
+  body: API.SavePersonalUserBankCardCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/user/savePersonalUserBankCard', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 淇濆瓨鐢ㄦ埛 POST /api/user/user/saveUser */
+export async function saveUser(body: API.SaveUserCommand, options?: API.RequestConfig) {
+  return request<string>('/api/user/user/saveUser', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 鍙戦�佺粦瀹氶摱琛屽崱鐭俊 POST /api/user/user/sendSavePersonalUserBankCardVerifyCode */
+export async function sendSavePersonalUserBankCardVerifyCode(
+  body: API.SendSavePersonalUserBankCardVerifyCodeCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/user/sendSavePersonalUserBankCardVerifyCode', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
     ...(options || {}),
   });
 }
@@ -79,3 +292,33 @@
     ...(options || {}),
   });
 }
+
+/** 鍚屾浼佷笟鐢ㄦ埛 POST /api/user/user/syncEnterpriseUser */
+export async function syncEnterpriseUser(
+  body: API.SyncEnterpriseUserCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/user/syncEnterpriseUser', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 鍚屾杩愯惀鐢ㄦ埛 POST /api/user/user/syncOperationUser */
+export async function syncOperationUser(
+  body: API.SyncOperationUserCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/user/syncOperationUser', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

--
Gitblit v1.9.1