xuhy
2024-12-16 7ea8d1c6da749da69516f47593ae47546a0d3d4c
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);