From d27e3ada8f1e9c005747988e9bf2519fcd6da21a Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 09 九月 2024 12:45:44 +0800
Subject: [PATCH] 测试完成

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

diff --git a/src/api/system/user.js b/src/api/system/user.js
index bcc2061..6bb7965 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -13,7 +13,7 @@
 // 鏌ヨ鐢ㄦ埛璇︾粏
 export function getUser(userId) {
   return request({
-    url: '/system/user/' + parseStrEmpty(userId),
+    url: '/system/user/getInfo/' + parseStrEmpty(userId),
     method: 'get'
   })
 }
@@ -21,7 +21,7 @@
 // 鏂板鐢ㄦ埛
 export function addUser(data) {
   return request({
-    url: '/system/user',
+    url: '/system/user/add',
     method: 'post',
     data: data
   })
@@ -51,7 +51,7 @@
     password
   }
   return request({
-    url: '/system/user/resetPwd/edit',
+    url: '/system/user/resetPwd',
     method: 'post',
     data: data
   })
@@ -94,7 +94,7 @@
     newPassword
   }
   return request({
-    url: '/system/user/profile/updatePwd/edit',
+    url: '/system/user/profile/updatePwd',
     method: 'post',
     params: data
   })

--
Gitblit v1.9.3