springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/handel/UserAuthenticationProvider.java
@@ -144,6 +144,10 @@ 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); springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
@@ -1333,4 +1333,7 @@ @GetMapping("/getAllCommunityList") R getAllCommunityList(); @GetMapping("/propertyCheck") R propertyCheck(@RequestParam String phone); } springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
@@ -1517,4 +1517,9 @@ return userService.myFeedBack(id,type); } @GetMapping("/propertyCheck") public R propertyCheck(@RequestParam String phone){ return userService.propertyCheck(phone); } } springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java
@@ -969,4 +969,9 @@ * 查看我的问题留言或者问题留言记录 * */ R myFeedBack(Long id,Integer type); /** * 是否为物业公司登录 * */ R propertyCheck(String phone); } springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java
@@ -3988,6 +3988,15 @@ return R.ok(sysUserFeedbackDOS); } @Override public R propertyCheck(String phone) { Long propertyAccount = userDao.isPropertyAccount(phone); if (isNull(propertyAccount)){ return R.fail(); } return R.ok(propertyAccount); } @Override public R getAreaAndStreet() {