From 790b1289743814fc378ca62532d7be4534455668 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期一, 17 三月 2025 14:48:36 +0800
Subject: [PATCH] bug修改
---
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/HomeController.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/HomeController.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/HomeController.java
index d92e42e..88402c0 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/HomeController.java
+++ b/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());
--
Gitblit v1.7.1