| | |
| | | if (loginUserInfo != null) { |
| | | comActEasyPhotoVO.setCommunityId(loginUserInfo.getCommunityId()); |
| | | comActEasyPhotoVO.setLogInUserId(loginUserInfo.getUserId()); |
| | | comActEasyPhotoVO.setIsDpcMember(loginUserInfo.getIsDpcMember()); |
| | | } |
| | | return communityService.pageEasyPhotoApplets(comActEasyPhotoVO); |
| | | } |
| | |
| | | @PostMapping("/editEasyPhotoHandler") |
| | | public R editEasyPhotoHandler(@RequestBody EditComActEasyPhotoHandlerDto comActEasyPhotoHandler) { |
| | | return this.communityService.editEasyPhotoHandler(comActEasyPhotoHandler); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询处理详情", response = ComActEasyPhotoHandlerVo.class) |
| | | @ApiImplicitParam(name = "id", value = "处理id", required = true) |
| | | @GetMapping("/easyPhotoHandler") |
| | | public R detailEasyPhotoHandler(@RequestParam("id") Long id) { |
| | | return this.communityService.detailEasyPhotoHandler(id); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询随手拍是否有活动", response = ComActEasyPhotoActivityVO.class) |
| | |
| | | @GetMapping("agreement") |
| | | @ApiImplicitParam(name = "type", value = "1居民端app协议 2网格员端app协议 3商家端app协议 4隐私政策") |
| | | public R agreement(@RequestParam("type") Integer type) { |
| | | return userService.agreement(type); |
| | | return userService.agreement(type,this.getAppId()); |
| | | } |
| | | |
| | | @ApiOperation("发布留言") |
| | |
| | | LoginUserInfoVO loginUserInfo = this.getLoginUserInfoSureNoLogin(); |
| | | if (loginUserInfo != null) { |
| | | userId = loginUserInfo.getUserId(); |
| | | communityId = loginUserInfo.getCommunityId(); |
| | | if(loginUserInfo.getCommunityId()!=null){ |
| | | communityId = loginUserInfo.getCommunityId(); |
| | | } |
| | | } |
| | | return communityService.getUserReward(userId, communityId); |
| | | } |