hhhyyq
2021-03-18 b3a71b956769b72b46976516dbbda69e30fa0bbf
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunityApi.java
@@ -3,7 +3,6 @@
import com.alibaba.fastjson.JSONObject;
import com.panzhihua.common.controller.BaseController;
import com.panzhihua.common.model.dtos.community.ComMngCarAppletDTO;
import com.panzhihua.common.model.dtos.community.PageComActDTO;
import com.panzhihua.common.model.dtos.community.PageVolunteerDTO;
import com.panzhihua.common.model.vos.LoginUserInfoVO;
import com.panzhihua.common.model.vos.R;
@@ -40,10 +39,12 @@
    @Resource
    private UserService userService;
    @ApiOperation(value = "分页查询社区",response = ComActVO.class)
    @PostMapping("pagecommunity")
    public R pageCommunity(@RequestBody PageComActDTO pageComActDTO){
        return communityService.pageCommunity(pageComActDTO);
    @ApiOperation(value = "分页查询小区",response =ComMngStructAreaVO.class )
    @PostMapping("pagearea")
    public R pageArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO){
        Long communityId = this.getCommunityId();
        comMngStructAreaVO.setCommunityId(communityId);
        return communityService.pageArea(comMngStructAreaVO);
    }
    @ApiOperation(value = "分页获取社区动态",response = ComActDynVO.class)