From ba6e43f9c2b2c4724b961e584de89546b4b21f32 Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期三, 13 九月 2023 16:01:20 +0800 Subject: [PATCH] su --- src/api/system/user.js | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/system/user.js b/src/api/system/user.js index dcce167..41d0b06 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -47,12 +47,12 @@ } // 鐢ㄦ埛瀵嗙爜閲嶇疆 -export function resetUserPwd(userId, password) { - password = encrypt(password); - const data = { - userId, - password - } +export function resetUserPwd(data) { + // password = encrypt(password); + // const data = { + // userId, + // password + // } return request({ url: '/system/user/resetPwd', method: 'put', -- Gitblit v1.8.0