From 6b333bea26b7599a3cf39cfa88333572ad66261e Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 28 五月 2025 16:45:07 +0800
Subject: [PATCH] fix: bug

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

diff --git a/src/services/api/User.ts b/src/services/api/User.ts
index a1d348f..706aab2 100644
--- a/src/services/api/User.ts
+++ b/src/services/api/User.ts
@@ -2,6 +2,21 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
+/** 鎵归噺鍚屾鐢ㄦ埛浣欓 POST /api/User/BatchSyncUserAmount */
+export async function batchSyncUserAmount(
+  body: API.BatchSyncUserAmountInput,
+  options?: API.RequestConfig
+) {
+  return request<any>('/api/User/BatchSyncUserAmount', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 鏂板璐﹀彿淇℃伅 POST /api/User/CreateAccount */
 export async function createAccount(body: API.CreateAccountInput, options?: API.RequestConfig) {
   return request<string>('/api/User/CreateAccount', {
@@ -81,6 +96,14 @@
   });
 }
 
+/** 鑾峰彇瀹㈡埛浣欓淇℃伅 GET /api/User/GetUserAmountShow */
+export async function getUserAmountShow(options?: API.RequestConfig) {
+  return request<API.UserAmountShowDto>('/api/User/GetUserAmountShow', {
+    method: 'GET',
+    ...(options || {}),
+  });
+}
+
 /** 鑾峰彇鐢ㄦ埛璇︽儏 GET /api/User/GetUserDetail */
 export async function getUserDetail(
   // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -135,6 +158,18 @@
   });
 }
 
+/** 鍚屾鐢ㄦ埛 POST /api/User/SyncUser */
+export async function syncUser(body: API.SyncUserDto, options?: API.RequestConfig) {
+  return request<string>('/api/User/SyncUser', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 鏇存柊璐﹀彿淇℃伅 POST /api/User/UpdateAccount */
 export async function updateAccount(body: API.UpdateAccountInput, options?: API.RequestConfig) {
   return request<number>('/api/User/UpdateAccount', {

--
Gitblit v1.9.1