From 866641f84a107173cca06a98b8cf35b1730cb2c8 Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期五, 11 十一月 2022 10:57:35 +0800
Subject: [PATCH] token获取物业id处理

---
 springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/handel/UserAuthenticationProvider.java |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/handel/UserAuthenticationProvider.java b/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/handel/UserAuthenticationProvider.java
index 9aae475..9de87c6 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/handel/UserAuthenticationProvider.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/handel/UserAuthenticationProvider.java
@@ -109,10 +109,6 @@
                 if (r1.getCode()== Constants.SUCCESS){
                     loginUserInfoVO.setType(13);
                 }
-                R r2 = userService.propertyCheck(loginUserInfoVO.getPhone());
-                if (r2.getCode() == Constants.SUCCESS){
-                    loginUserInfoVO.setPropertyId((Long)r2.getData());
-                }
             }
             return new UsernamePasswordAuthenticationToken(loginUserInfoVO, password, grantedAuthorityList);
         }
@@ -148,10 +144,6 @@
                 R r1 = communityService.isExpert(loginUserInfoVO.getPhone());
                 if (r1.getCode() == Constants.SUCCESS){
                     loginUserInfoVO.setType(13);
-                }
-                R r2 = userService.propertyCheck(loginUserInfoVO.getPhone());
-                if (r2.getCode() == Constants.SUCCESS){
-                    loginUserInfoVO.setPropertyId((Long)r2.getData());
                 }
             }
             return new UsernamePasswordAuthenticationToken(loginUserInfoVO, password, grantedAuthorityList);

--
Gitblit v1.7.1