From 0675b1d0b21d2e883a0d984c0e8d2acf8b67999a Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期五, 15 十二月 2023 13:45:53 +0800
Subject: [PATCH] 补上被覆盖的方法
---
CanadaMes-ui/src/api/user.js | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/CanadaMes-ui/src/api/user.js b/CanadaMes-ui/src/api/user.js
index f0b1b05..990b18a 100644
--- a/CanadaMes-ui/src/api/user.js
+++ b/CanadaMes-ui/src/api/user.js
@@ -14,6 +14,14 @@
}
+export function currentUsername() {
+ return request({
+ url: '/api/user/currentUsername',
+ method: 'get',
+
+ })
+ }
+
export function resetPass(data) {
return request({
url: '/api/user/resetPass',
@@ -22,6 +30,14 @@
})
}
+export function yanzhengmima(data) {
+ return request({
+ url: '/api/user/verifyPassword',
+ method: 'post',
+ data
+ })
+ }
+
/**
* 娉ㄥ唽
--
Gitblit v1.8.0