From 1168b0243adb3330a252c4594fc23a4e1173a1bc Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 13 三月 2024 10:39:27 +0800 Subject: [PATCH] 点位优化 --- src/api/system/user.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/system/user.js b/src/api/system/user.js index f2f76ef..d2f9d92 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -88,10 +88,11 @@ } // 鐢ㄦ埛瀵嗙爜閲嶇疆 -export function updateUserPwd(oldPassword, newPassword) { +export function updateUserPwd(oldPassword, newPassword, firstLogin) { const data = { oldPassword, - newPassword + newPassword, + firstLogin } return request({ url: '/system/user/profile/updatePwd', @@ -133,3 +134,4 @@ method: 'get' }) } + -- Gitblit v1.8.0