From b7426e2384b85e92ec1b59061bdada9b4f5c69ec Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 23 四月 2025 16:12:40 +0800
Subject: [PATCH] feat: 接口
---
src/services/api/Account.ts | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/src/services/api/Account.ts b/src/services/api/Account.ts
index 86fd3ef..7f7fd9a 100644
--- a/src/services/api/Account.ts
+++ b/src/services/api/Account.ts
@@ -341,6 +341,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 +548,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