From 1b9fea7d4af68d8f933b2dc42bf6084b9646f64c Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 04 三月 2025 08:39:55 +0800
Subject: [PATCH] 修改作业等级名称

---
 src/api/login/index.ts |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/api/login/index.ts b/src/api/login/index.ts
index ac55ce0..61d862f 100644
--- a/src/api/login/index.ts
+++ b/src/api/login/index.ts
@@ -21,6 +21,14 @@
                 url: import.meta.env.VITE_API_URL + '/auth/logout',
                 method: 'post'
             });
-        }
+        },
+        // 更改密码
+        changeCode: (params: object) => {
+            return request({
+                url: import.meta.env.VITE_API_URL + '/account/pwd/forget',
+                method: 'post',
+                data: params
+            });
+        },
     };
 }

--
Gitblit v1.9.2