liujie
2025-06-07 9aa70071828c8522da1fb666bbb4ee59a8a47b6d
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();