From d94d00d2cd9eaf87bb3776f72f8e73410b93cb7a Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 18 十二月 2023 15:59:37 +0800
Subject: [PATCH] 随访题库完成

---
 src/api/system/user.js |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/api/system/user.js b/src/api/system/user.js
index d1f05a8..bcc2061 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -30,8 +30,8 @@
 // 淇敼鐢ㄦ埛
 export function updateUser(data) {
   return request({
-    url: '/system/user',
-    method: 'put',
+    url: '/system/user/edit',
+    method: 'post',
     data: data
   })
 }
@@ -39,8 +39,8 @@
 // 鍒犻櫎鐢ㄦ埛
 export function delUser(userId) {
   return request({
-    url: '/system/user/' + userId,
-    method: 'delete'
+    url: '/system/user/remove/' + userId,
+    method: 'get'
   })
 }
 
@@ -51,8 +51,8 @@
     password
   }
   return request({
-    url: '/system/user/resetPwd',
-    method: 'put',
+    url: '/system/user/resetPwd/edit',
+    method: 'post',
     data: data
   })
 }
@@ -64,8 +64,8 @@
     status
   }
   return request({
-    url: '/system/user/changeStatus',
-    method: 'put',
+    url: '/system/user/changeStatus/edit',
+    method: 'post',
     data: data
   })
 }
@@ -81,8 +81,8 @@
 // 淇敼鐢ㄦ埛涓汉淇℃伅
 export function updateUserProfile(data) {
   return request({
-    url: '/system/user/profile',
-    method: 'put',
+    url: '/system/user/profile/edit',
+    method: 'post',
     data: data
   })
 }
@@ -94,8 +94,8 @@
     newPassword
   }
   return request({
-    url: '/system/user/profile/updatePwd',
-    method: 'put',
+    url: '/system/user/profile/updatePwd/edit',
+    method: 'post',
     params: data
   })
 }
@@ -120,8 +120,8 @@
 // 淇濆瓨鎺堟潈瑙掕壊
 export function updateAuthRole(data) {
   return request({
-    url: '/system/user/authRole',
-    method: 'put',
+    url: '/system/user/authRole/edit',
+    method: 'post',
     params: data
   })
 }

--
Gitblit v1.9.3