From 3cb6ee6e1e4ea8b7cc65033f9420b3ae0029b63c Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期三, 18 八月 2021 18:53:24 +0800 Subject: [PATCH] Merge branch 'txb' --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/HouseApi.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/HouseApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/HouseApi.java index 13789a8..07cd7e1 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/HouseApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/HouseApi.java @@ -58,9 +58,9 @@ @ApiOperation(value = "房屋租售-分页查询",response = ComOpsHouseVO.class) @PostMapping("pagehouse") public R pageHouse(@RequestBody PageComOpsHouseDTO pageComOpsHouseDTO) { - LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); + LoginUserInfoVO loginUserInfo = this.getLoginUserInfoSureNoLogin(); Integer isMy = pageComOpsHouseDTO.getIsMy(); - if (null!=isMy&&isMy.intValue()==1) { + if (null!=isMy&&isMy.equals(1)) { pageComOpsHouseDTO.setUserId(loginUserInfo.getUserId()); } return communityService.pageOpsHouse(pageComOpsHouseDTO); @@ -78,7 +78,7 @@ @ApiOperation(value = "房屋租售-修改") @PostMapping("putHouse") public R updateHouse(@RequestBody @Validated(PutGroup.class) ComOpsHouseVO comOpsHouseVO) { - return communityService.putOpsHouse(comOpsHouseVO); + return communityService.putOpsHouseByApplets(comOpsHouseVO); } @ApiOperation(value = "房屋租售-删除") -- Gitblit v1.7.1