From ed9e98f6b71bf662c045fd8e24d6ac254f624051 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期一, 15 七月 2024 13:28:58 +0800
Subject: [PATCH] 花城 【小程序】后台添加了组织社区共建内容,但小程序端没有显示内容

---
 springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java
index dbb0a70..2baedf1 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/UserApi.java
@@ -16,6 +16,7 @@
 import com.panzhihua.common.model.dtos.community.social.PageProjectDTO;
 import com.panzhihua.common.model.vos.community.rentHouse.WxPayOrderVO;
 import com.panzhihua.common.utlis.DateUtils;
+import io.swagger.annotations.ApiParam;
 import org.apache.commons.lang.StringUtils;
 import org.springframework.beans.BeanUtils;
 import org.springframework.data.redis.core.StringRedisTemplate;
@@ -497,6 +498,21 @@
         return R.ok();
     }
 
+    /**
+     * 获取动作人员详情
+     * @param communityId
+     * @param phone
+     * @return
+     */
+    @ApiOperation(value = "社区工做人员详情")
+    @GetMapping("/getComPbServiceTeamData")
+    public R getComPbServiceTeamData(@RequestParam("communityId") String communityId,
+                                     @RequestParam("phone") String phone)
+    {
+        return partyBuildingService.getComPbServiceTeamData(communityId,phone);
+    }
+
+
     @ApiOperation(value = "获取用户电子档案", response = UserArchivesVO.class)
     @PostMapping("getUserArchives")
     public R getUserArchives() {
@@ -524,4 +540,24 @@
         pageProjectDTO.setUserId(this.getUserId());
         return communityService.pageProjectWhichIsSignedByUser(pageProjectDTO);
     }
+
+    @ApiOperation("获取用户")
+    @GetMapping("selectAutomessageSysUserById")
+    public R selectAutomessageSysUserById(@RequestParam("id")Long id){
+        return communityService.selectAutomessageSysUserById(id);
+    }
+
+    @ApiOperation("新增投诉建议或问题留言")
+    @PostMapping("addFeedBack")
+    public R addFeedBack(@RequestBody SysUserFeedbackDTO sysUserFeedbackDTO){
+        sysUserFeedbackDTO.setCommunityId(null);
+        return userService.addFeedback(sysUserFeedbackDTO);
+    }
+
+    @ApiOperation("查看自己的投诉建议或问题留言记录")
+    @GetMapping("myFeedBack")
+    public R myFeedBack(@ApiParam("类型:1问题留言2投诉建议") @RequestParam(value = "type",required = false)Integer type,@RequestParam("propertyId")Long propertyId){
+        return userService.myFeedBack(this.getLoginUserInfo().getUserId(),type,propertyId);
+    }
+
 }

--
Gitblit v1.7.1