From 43c5f55acde13b7f8d79b2aeaa28dd7f0f800bde Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 10 十一月 2025 14:41:59 +0800
Subject: [PATCH] fix: bug

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

diff --git a/src/services/api/user.ts b/src/services/api/user.ts
index e62b980..f378be8 100644
--- a/src/services/api/user.ts
+++ b/src/services/api/user.ts
@@ -2,6 +2,36 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
+/** 鐢熸垚鎿嶄綔浠ょ墝 POST /api/user/user/buildOperatorToken */
+export async function buildOperatorToken(
+  body: API.BuildOperatorTokenCommand,
+  options?: API.RequestConfig
+) {
+  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,
@@ -9,6 +39,21 @@
 ) {
   return request<number>('/api/user/user/deletePersonalUserBankCard', {
     method: 'DELETE',
+    headers: {
+      'Content-Type': 'application/json-patch+json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 瀵煎嚭涓汉鐢ㄦ埛鏀舵敮鏄庣粏鐢靛瓙鍥炲崟 POST /api/user/user/exportPersonalUserTransactionEreceipts */
+export async function exportPersonalUserTransactionEreceipts(
+  body: API.ExportPersonalUserTransactionEreceiptsCommand,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/user/user/exportPersonalUserTransactionEreceipts', {
+    method: 'POST',
     headers: {
       'Content-Type': 'application/json-patch+json',
     },
@@ -161,6 +206,21 @@
   });
 }
 
+/** 閲嶇疆鐢ㄦ埛鎿嶄綔瀵嗙爜 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,

--
Gitblit v1.9.1