| | |
| | | @ApiOperation(value = "活动签到记录", response = ComActActRegistVO.class) |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "活动主键", required = true), |
| | | @ApiImplicitParam(name = "type", value = "活动类型,1.居民/志愿者活动 2.党员活动", required = true) |
| | | @ApiImplicitParam(name = "type", value = "活动类型,1.居民/志愿者活动 2.党员活动", required = true), |
| | | @ApiImplicitParam(name = "userId", value = "用户id", required = true) |
| | | }) |
| | | @GetMapping("activity/regist/list") |
| | | public R listRegistRecord(@RequestParam("id") Long id, |
| | | @RequestParam("type") Integer type) { |
| | | @RequestParam("type") Integer type, |
| | | @RequestParam("userId") Long userId) { |
| | | if (type.intValue() == 1) { |
| | | return communityService.listRegistRecord(id, this.getUserId()); |
| | | return communityService.listRegistRecord(id, userId); |
| | | } |
| | | return R.fail("type不存在"); |
| | | } |