新增锁定后解锁操作

pull/82/head^2
awenes 2024-04-04 21:45:57 +08:00
parent 88bb33b8e9
commit 96c8f510f3
1 changed files with 9 additions and 0 deletions

View File

@ -328,6 +328,15 @@ export async function disableUser(id: string): Promise<API.ApiResult<boolean>> {
});
}
/**
* UnLock User
*/
export async function unlockUser(id: string): Promise<API.ApiResult<boolean>> {
return request(`/api/v1/user/unlock/${id}`, {
method: 'PUT',
});
}
/**
* Get user list not in group
*/