| | |
| | | } |
| | | |
| | | /** |
| | | * 小程序-查询用户积分列表 |
| | | * 小程序-积分统计 |
| | | * |
| | | * @param userId |
| | | * 用户id |
| | | * @return 用户积分列表 |
| | | */ |
| | | @PostMapping("/user/list/applets") |
| | | @GetMapping("/user/statistics") |
| | | public R getIntegralUserListApplets(@RequestParam("userId") Long userId, |
| | | @RequestParam("communityId") Long communityId) { |
| | | @RequestParam(value = "communityId", required = false) Long communityId) { |
| | | return comActIntegralUserService.getIntegralUserListApplets(userId, communityId); |
| | | } |
| | | |
| | | /** |
| | | * 查询我的积分余额 |
| | | * @param userId |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/user/balance") |
| | | public R getUserIntegralBalance(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId) { |
| | | return comActIntegralUserService.getUserIntegralBalance(userId, communityId); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * 根据社区活动id查询社区活动报名人员列表 |
| | | * 根据社区活动id查询社区活动报名且未参与人员列表 |
| | | * |
| | | * @param activityId |
| | | * 活动id |
| | | * @return 社区活动报名人员列表 |
| | | * @return 社区活动报名且未参与人员列表 |
| | | */ |
| | | @PostMapping("/act/activity/admin") |
| | | public R getTaskActivityPeopleList(@RequestParam("activityId") Long activityId) { |
| | | return comActIntegralUserService.getTaskActivityPeopleList(activityId); |
| | | } |
| | | |
| | | /** |
| | | * 获取积分详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/user/detail") |
| | | public R getUserIntegralDetail(@RequestParam("id") Long id) { |
| | | return comActIntegralUserService.getUserIntegralDetail(id); |
| | | } |
| | | |
| | | } |