| | |
| | | @PostMapping("easyphoto") |
| | | public R addEasyPhoto (@RequestBody @Validated(AddGroup.class) ComActEasyPhotoVO comActEasyPhotoVO){ |
| | | // 微信内容审核 |
| | | String msg = comActEasyPhotoVO.getDetail(); |
| | | if (!checkService.checkMessage(msg)) { |
| | | return R.fail("内容违规"); |
| | | } |
| | | // String msg = comActEasyPhotoVO.getDetail(); |
| | | // if (!checkService.checkMessage(msg)) { |
| | | // return R.fail("内容违规"); |
| | | // } |
| | | LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); |
| | | Long communityId = loginUserInfo.getCommunityId(); |
| | | if (null==communityId||0==communityId) { |
| | |
| | | public R isShop(){ |
| | | return R.ok(Constants.IS_SHOP_OPEN); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取最新活动和用户最新收益",response =ComActEasyPhotoRewardVO.class ) |
| | | @PostMapping("getUserReward") |
| | | public R getUserReward(){ |
| | | return communityService.getUserReward(this.getUserId(),this.getCommunityId()); |
| | | } |
| | | |
| | | @ApiOperation(value = "读取用户随手拍奖励") |
| | | @PostMapping("readUserReward") |
| | | public R readUserReward(){ |
| | | return communityService.readUserReward(this.getUserId(),this.getCommunityId()); |
| | | } |
| | | } |