Browse Source

用户密码

aleyds 11 months ago
parent
commit
2825555f0f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/api/system/user.js

+ 2 - 2
src/api/system/user.js

@@ -45,9 +45,9 @@ export function delUser(userId) {
 }
 
 // 用户密码重置
-export function resetUserPwd(userId, password) {
+export function resetUserPwd(id, password) {
   const data = {
-    userId,
+    id,
     password
   }
   return request({