luofl
2025-03-17 261f390eaa70cbb103b85e872e463c65d16cdeb1
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/HomeController.java
@@ -126,6 +126,13 @@
        Integer identity = (Integer) redisUtils.get("identity:" + loginUserInfo.getPhone());
        List<Integer> permissions = new ArrayList<>();
        IdentityInformationVO identityInformationVO = new IdentityInformationVO();
        if (partyMember != null){
            identityInformationVO.setIsFrozen(partyMember.getFreezeStatus() == 1);
        }
        if (systemUser != null){
            identityInformationVO.setIsFrozen(systemUser.getStatus() == 2);
        }
        identityInformationVO.setIdentity(identity);
        identityInformationVO.setIsPartymember(partyMember != null);
        identityInformationVO.setAuditStatus(partyMember == null ? null : partyMember.getAuditStatus());