aleyds 1 år sedan
förälder
incheckning
2825555f0f
1 ändrade filer med 2 tillägg och 2 borttagningar
  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({