mitao
2025-05-23 2838eaf14edc8a4ec054aaa90c6619498145d8ea
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/PartyMemberServiceImpl.java
@@ -371,8 +371,7 @@
            throw new ServiceException("无权审核");
        }
        IdentityInformation identityInformation = identityInformationService.getCurrentIdentityInformation(loginUserInfo);
        Integer identity = (Integer) redisUtils.get("identity:" + loginUserInfo.getPhone());
        if(identityInformation.getIdentity() != 2){
        if(identityInformation.getIdentity().equals(2)){
            throw new ServiceException("请切换至管理员身份");
        }
        SystemUserLevel systemUserLevel = identityInformation.getSystemUserLevel();