| | |
| | | } |
| | | |
| | | @ApiOperation(value = "获取最新活动和用户最新收益",response =ComActEasyPhotoRewardVO.class ) |
| | | @PostMapping("getUserReward") |
| | | public R getUserReward(){ |
| | | return communityService.getUserReward(this.getUserId(),this.getCommunityId()); |
| | | @GetMapping("getUserReward") |
| | | public R getUserReward(@RequestParam("communityId") Long communityId){ |
| | | Long userId = 0L; |
| | | LoginUserInfoVO loginUserInfo = this.getLoginUserInfoSureNoLogin(); |
| | | if(loginUserInfo != null){ |
| | | userId = loginUserInfo.getUserId(); |
| | | communityId = loginUserInfo.getCommunityId(); |
| | | } |
| | | return communityService.getUserReward(userId,communityId); |
| | | } |
| | | |
| | | @ApiOperation(value = "读取用户随手拍奖励") |