From eaf9c983b41f2c1fe682526eab131999f84fb8fe Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 15:47:35 +0800
Subject: [PATCH] feat: 页面
---
src/services/api/Account.ts | 26 +++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/src/services/api/Account.ts b/src/services/api/Account.ts
index 86fd3ef..3dc39aa 100644
--- a/src/services/api/Account.ts
+++ b/src/services/api/Account.ts
@@ -131,6 +131,18 @@
});
}
+/** 鍒涘缓涓存椂璁块棶浠ょ墝 POST /api/Account/CreateTempToken */
+export async function createTempToken(body: API.CreateTempTokenInput, options?: API.RequestConfig) {
+ return request<string>('/api/Account/CreateTempToken', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 绠$悊鍛樺垱寤虹敤鎴� POST /api/Account/CreateUserForAdmin */
export async function createUserForAdmin(
body: API.CreateUserForAdminInput,
@@ -341,6 +353,18 @@
});
}
+/** 鏀垮姟绔竴绯荤粺閰嶇疆涓�閲嶇疆瀵嗙爜 POST /api/Account/ResetPassword */
+export async function resetPassword(body: API.ResetPasswordBaseInput, options?: API.RequestConfig) {
+ return request<number>('/api/Account/ResetPassword', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 閲嶇疆瀵嗙爜骞跺彂閫佹墜鏈洪�氱煡鏂板瘑鐮� POST /api/Account/ResetPasswordWithMicroNotify */
export async function resetPasswordWithMicroNotify(
body: API.ResetPasswordBaseInput,
@@ -536,7 +560,7 @@
}
/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/ResetPassword */
-export async function resetPassword(body: API.ResetPasswordDto, options?: API.RequestConfig) {
+export async function resetPassword_2(body: API.ResetPasswordDto, options?: API.RequestConfig) {
return request<any>('/api/accountAuth/ResetPassword', {
method: 'POST',
headers: {
--
Gitblit v1.9.1