From 3a39a3db50da4cc43f735d3a7903323467e08c8f Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 24 十月 2024 00:19:52 +0800
Subject: [PATCH] 测试环境
---
src/api/modules/user.js | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/api/modules/user.js b/src/api/modules/user.js
index 4d8fcb3..a3076ef 100644
--- a/src/api/modules/user.js
+++ b/src/api/modules/user.js
@@ -1,6 +1,15 @@
import service from "@/api";
-
+// 鐧诲綍璇锋眰
export const login = (postData = {}) => {
return service.post('/api/user/login', postData);
}
+
+// 閫�鍑虹櫥褰�
+export const logout = () => {
+ return service.post('/api/user/logout');
+}
+//淇敼瀵嗙爜
+export const updatePassword = (data= {}) => {
+ return service.post('/api/common/user/update/password', data)
+}
--
Gitblit v1.8.0