From dfd80c77abd68b95a8fc1e832d36d6f756083e04 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期五, 05 八月 2022 13:26:44 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java index e10e280..d4fc3fc 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NeighborApi.java @@ -207,9 +207,8 @@ @ApiOperation(value = "查询社区邻里圈话题列表", response = ComActNeighborCircleTopicAppVO.class) @GetMapping("topic/list") public R getNeighborTopicByApp( - @RequestParam(value = "name",defaultValue = "",required = false) String name, - @RequestParam(value = "belongType", defaultValue = "1", required = false) Integer belongType) { - return communityService.getNeighborTopicByApp(name, belongType); + @RequestParam(value = "name",defaultValue = "",required = false) String name) { + return communityService.getNeighborTopicByApp(name); } @ApiOperation(value = "用户删除邻里圈") @@ -256,6 +255,16 @@ return this.communityService.serviceStatic(serviceStaticDTO); } - + /** + * 求助我的问题数量统计 + * @param type + * @param phone + * @return + */ + @ApiOperation(value = "求助我的问题数量统计") + @GetMapping("/selectCount") + public R selectCount(@RequestParam("type")Integer type,@RequestParam(value = "phone",required = false)String phone,@RequestParam("communityId")Long communityId){ + return this.communityService.selectCount(type,phone,communityId); + } } -- Gitblit v1.7.1