From c92f77ac03a1bbe3009891ce1d1f57f2d1091572 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期二, 24 八月 2021 15:00:25 +0800
Subject: [PATCH] 提交预约登记小程序相关代码

---
 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