Browse Source

修改密码

zouling 3 months ago
parent
commit
e46e351b74
1 changed files with 3 additions and 4 deletions
  1. 3 4
      property_ui/api/system/user.js

+ 3 - 4
property_ui/api/system/user.js

@@ -8,10 +8,9 @@ export function updateUserPwd(oldPassword, newPassword) {
     newPassword
   }
   return request({
-    url: '/system/user/profile/updatePwd',
-    method: 'post',
-    data: data
-  })
+      url: '/system/user/profile/updatePwd?oldPassword='+oldPassword+'&newPassword='+newPassword,
+      method: 'post',
+    })
 }
 // 忘记密码发送短信
 export function getappForgetPW(data) {