无关风月
2024-12-19 87630e05daa721f9f742787db0d7b9749d8c2649
manage/src/main/java/com/jilongda/manage/security/SysUserDetailsService.java
@@ -49,10 +49,6 @@
            throw new UsernameNotFoundException("该用户不存在");
        }
        if (user.getRoleType()==2){
            throw  new RuntimeException("该用户暂无权限");
        }
        SecurityUserDetails vo = SpringUtils.beanCopy(user, SecurityUserDetails.class);
        if (user.getAccount().equals(Constant.ADMIN)) {
            getAdminPermission(vo);