From 50d33c74675a9d9eee957a685d9e55b77974f6f9 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期五, 06 一月 2023 16:44:06 +0800
Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqt

---
 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