From 21e346b09b236c1645a4af2b045dd599b248b6f0 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 29 十月 2024 17:07:06 +0800
Subject: [PATCH] 增加了重置密码的功能

---
 src/api/user.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/api/user.js b/src/api/user.js
index b870d15..1adbdf9 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -1,4 +1,4 @@
-import { post,get } from '@/utils/request'
+import { post, get } from '@/utils/request'
 
 export default {
   getUserPageList: query => post('/api/admin/user/page/list', query),
@@ -12,5 +12,7 @@
   selectByUserName: query => post('/api/admin/user/selectByUserName', query),
   studentList: () => get('/api/admin/user/student/list'),
   getClassesCurrentUserList: (param) => get('/api/admin/user/classes/students', param),
-  updatePassword: (data) => post('/api/admin/user/update/password', data)
+  updatePassword: (data) => post('/api/common/user/update/password', data),
+  uploadImg: (data) => post('/api/admin/upload/img', data),
+  resetUserPassword: (id) => post('/api/admin/user/reset/password/' + id),
 }

--
Gitblit v1.8.0