From 06419b10e17c72e07f1c740836e5abb79df619d0 Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期一, 04 十一月 2024 17:55:38 +0800 Subject: [PATCH] 搭建错题本页面 --- src/api/modules/user.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/api/modules/user.js b/src/api/modules/user.js index b2dd01a..a3076ef 100644 --- a/src/api/modules/user.js +++ b/src/api/modules/user.js @@ -8,4 +8,8 @@ // 閫�鍑虹櫥褰� export const logout = () => { return service.post('/api/user/logout'); -} \ No newline at end of file +} +//淇敼瀵嗙爜 +export const updatePassword = (data= {}) => { + return service.post('/api/common/user/update/password', data) +} -- Gitblit v1.8.0