diff --git a/src/api/system/user.js b/src/api/system/user.js index 14e597d..c8a8101 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -118,3 +118,13 @@ export const grant = (userIds, roleIds) => { } }) } + +export const unlock = (userIds) => { + return request({ + url: '/api/blade-user/unlock', + method: 'post', + params: { + userIds, + } + }) +} diff --git a/src/views/system/user.vue b/src/views/system/user.vue index 0e50af3..1709b49 100644 --- a/src/views/system/user.vue +++ b/src/views/system/user.vue @@ -59,6 +59,13 @@ icon="el-icon-setting" @click="handlePlatform">平台配置 + 账号解封 +