| | |
| | | public R pageEasyPhoto(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO) { |
| | | LoginUserInfoVO loginUserInfo = this.getLoginUserInfoSureNoLogin(); |
| | | if (loginUserInfo != null) { |
| | | comActEasyPhotoVO.setCommunityId(loginUserInfo.getCommunityId()); |
| | | // comActEasyPhotoVO.setCommunityId(loginUserInfo.getCommunityId()); |
| | | comActEasyPhotoVO.setLogInUserId(loginUserInfo.getUserId()); |
| | | comActEasyPhotoVO.setIsDpcMember(loginUserInfo.getIsDpcMember()); |
| | | } |
| | |
| | | } |
| | | return communityService.detailEasyPhoto(id, userId); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 随手拍删除 |
| | | * |
| | | * @param id |
| | | * 随手拍主键 |
| | | * 登录用户id |
| | | * @return 详情内容 |
| | | */ |
| | | @ApiOperation(value = "删除随手拍", response = ComActEasyPhotoVO.class) |
| | | @DeleteMapping("easyphoto/{id}") |
| | | public R deleteEasyPhoto(@PathVariable("id") Long id) { |
| | | Long userId = this.getUserId(); |
| | | return communityService.deleteEasyPhoto(id, userId); |
| | | } |
| | | |
| | | |
| | | |
| | | @ApiOperation(value = "随手拍详情-脱敏", response = ComActEasyPhotoVO.class) |
| | | @GetMapping("detailEasyPhotoDesensitize") |
| | | @ApiImplicitParam(name = "id", value = "随手拍主键") |
| | |
| | | } |
| | | return communityService.detailMicroWish(id, userId); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "删除心愿") |
| | | @PostMapping("deletemicrowish") |
| | | public R deleteMicrowish(@RequestParam("id") Long id) { |
| | | return communityService.deletemicrowish(id); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "心愿详情-脱敏", response = ComActMicroWishVO.class) |
| | | @GetMapping("microwishDesensitize") |
| | |
| | | whistleDto.setUserId(this.getUserId()); |
| | | return easyPhotoEvaluateFeign.evaluateEasyApplets(whistleDto); |
| | | } |
| | | |
| | | |
| | | |
| | | /***************************************************************************************************************** |
| | | * |
| | | * 社区宣传 |
| | | * |
| | | ******************************************************************************************************************/ |
| | | @ApiOperation(value = "获取社区宣传", response = CommunityPublicityVO.class) |
| | | @GetMapping("/getCommunityPublicityData") |
| | | public R getCommunityPublicityData(@RequestParam("communityId") String communityId) |
| | | { |
| | | return communityService.getCommunityPublicityData(communityId); |
| | | } |
| | | |
| | | |
| | | // @ApiOperation(value = "添加社区宣传") |
| | | // @PostMapping("/addCommunityPublicityDate") |
| | | // public R addCommunityPublicityDate(@RequestBody CommunityPublicityVO item) |
| | | // { |
| | | // return communityService.addCommunityPublicityDate(item); |
| | | // } |
| | | // |
| | | // @ApiOperation(value = "编辑社区宣传") |
| | | // @PostMapping("/editCommunityPublicityDate") |
| | | // public R editCommunityPublicityDate(@RequestBody CommunityPublicityVO item) |
| | | // { |
| | | // return communityService.editCommunityPublicityDate(item); |
| | | // } |
| | | // |
| | | // @ApiOperation(value = "删除社区宣传") |
| | | // @DeleteMapping("/deleteCommunityPublicityData") |
| | | // public R deleteCommunityPublicityData(@RequestParam("communityId") String communityId) |
| | | // { |
| | | // return communityService.deleteCommunityPublicityData(communityId); |
| | | // } |
| | | // |
| | | // |
| | | |
| | | } |