From 9ce7c2a993cd67321885efb01b524567f8901411 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期四, 25 九月 2025 17:03:53 +0800
Subject: [PATCH] gx

---
 src/api/register/index.ts |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/api/register/index.ts b/src/api/register/index.ts
index 178abcf..7182807 100644
--- a/src/api/register/index.ts
+++ b/src/api/register/index.ts
@@ -59,4 +59,19 @@
 		method: 'post',
 		params,
 	});
+}
+/**
+ * 重置用户密码
+ * @param userCode 
+ * @returns 
+ */
+export function apiResetPwd(userCode: string) {
+	return request({
+		url: "/user/info/resetPassword",
+		method: "post",
+		headers: {
+            'Content-Type': 'application/x-www-form-urlencoded'
+        },
+		data: `userCode=${userCode}`
+	})
 }
\ No newline at end of file

--
Gitblit v1.8.0