代码更新

This commit is contained in:
lyd
2022-11-18 17:57:25 +08:00
parent 0a791c6df9
commit cdbe723d64
2 changed files with 4 additions and 1 deletions

View File

@@ -92,6 +92,9 @@ public class AuthorizationController {
throw new BadRequestException("账号或密码错误");
}
// 判断是否被锁
if (!userDto.getEnabled()) throw new BadRequestException("账号未激活");
// 获取权限列表 - 登录查找权限
List<String> permissionList = roleService.getPermissionList(userDto);