From 96c8f510f3419a65b30fea85c4a5d281a343f7d6 Mon Sep 17 00:00:00 2001 From: awenes <1121353141@qq.com> Date: Thu, 4 Apr 2024 21:45:57 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=96=B0=E5=A2=9E=E9=94=81?= =?UTF-8?q?=E5=AE=9A=E5=90=8E=E8=A7=A3=E9=94=81=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eiam-console/src/main/console-fe/src/services/account.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/eiam-console/src/main/console-fe/src/services/account.ts b/eiam-console/src/main/console-fe/src/services/account.ts index 4a100f00..c06aa7d3 100644 --- a/eiam-console/src/main/console-fe/src/services/account.ts +++ b/eiam-console/src/main/console-fe/src/services/account.ts @@ -328,6 +328,15 @@ export async function disableUser(id: string): Promise> { }); } +/** + * UnLock User + */ +export async function unlockUser(id: string): Promise> { + return request(`/api/v1/user/unlock/${id}`, { + method: 'PUT', + }); +} + /** * Get user list not in group */