update 用户管理 增加用户登录状态解锁功能

This commit is contained in:
疯狂的狮子Li
2026-03-18 13:45:37 +08:00
parent e138c314a8
commit 790abfac85
2 changed files with 25 additions and 0 deletions
+12
View File
@@ -111,6 +111,17 @@ export const changeUserStatus = (userId: number | string, status: string) => {
});
};
/**
* 解锁用户
* @param userId 用户ID
*/
export const unlockUser = (userId: number | string) => {
return request({
url: '/system/user/unlock/' + userId,
method: 'get',
});
};
/**
* 查询用户个人信息
*/
@@ -219,6 +230,7 @@ export default {
delUser,
resetUserPwd,
changeUserStatus,
unlockUser,
getUserProfile,
updateUserProfile,
updateUserPwd,