xuhy
2025-07-04 57e2ecf9fe22b81f337a0a513335c1dcd03e0196
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);