From 5ea88327e71ced54f5cd65e90086976289e176ae Mon Sep 17 00:00:00 2001
From: luofl <1442745593@qq.com>
Date: 星期三, 19 三月 2025 10:27:51 +0800
Subject: [PATCH] 修改按钮权限

---
 springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java
index 7d0c257..0626c6c 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/IdentityInformationServiceImpl.java
@@ -59,7 +59,8 @@
             identityInformationVO.setIdentity(1);
             redisUtils.set("identity:" + loginUserInfo.getPhone(), 1);
         } else {
-            identityInformationVO.setIdentity(identity);
+            identityInformationVO.setIdentity(null);
+            redisUtils.remove("identity:" + loginUserInfo.getPhone());
         }
 
 

--
Gitblit v1.7.1