Browse Source

修改密码

zouling 3 tháng trước cách đây
mục cha
commit
e46e351b74
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  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) {