Explorar o código

fix 个人信息修改密码接口,隐藏新旧密码参数明文

bleachtred hai 1 ano
pai
achega
395db813b5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/api/system/user/index.ts

+ 1 - 1
src/api/system/user/index.ts

@@ -136,7 +136,7 @@ export const updateUserPwd = (oldPassword: string, newPassword: string) => {
     headers: {
       isEncrypt: true
     },
-    params: data
+    data: data
   });
 };