From 0c13eb833bb1f2c27cb825169aac24e52db7c1f7 Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期二, 01 三月 2022 14:46:15 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/partyBuilding_lyq' into partyBuilding_lyq --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/RentingHousesApi.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/RentingHousesApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/RentingHousesApi.java index dca672b..7c4fa04 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/RentingHousesApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/RentingHousesApi.java @@ -162,6 +162,10 @@ @ApiOperation(value = "附近的房源",response =RentingHouseRegisterVO.class) @PostMapping("/nearby") public R nearby(@RequestBody NearbyDTO nearbyDTO){ + LoginUserInfoVO loginUserInfoSureNoLogin = getLoginUserInfoSureNoLogin(); + if (Objects.nonNull(loginUserInfoSureNoLogin)) { + nearbyDTO.setCommunityId(loginUserInfoSureNoLogin.getCommunityId()); + } return communityService.nearby(nearbyDTO); } -- Gitblit v1.7.1