liujie
2025-06-06 dedefa06e62e001b69fa52bb18c759f5fe951c08
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(1)){
            throw new ServiceException("请切换至管理员身份");
        }
        SystemUserLevel systemUserLevel = identityInformation.getSystemUserLevel();