| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.common.model.vos.community.integral.IntegralUserRankVO; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import com.panzhihua.common.model.dtos.community.integral.ComActIntegralCommunityRankDTO; |
| | |
| | | return comActIntegralUserService.getUserIntegralDetail(id); |
| | | } |
| | | |
| | | /** |
| | | * 小程序-查询用户在当前社区积分排名 |
| | | * |
| | | * @param userId |
| | | * 用户id |
| | | * @param communityId |
| | | * 社区id |
| | | * @return 用户在当前社区积分排名 |
| | | */ |
| | | @GetMapping("/user/getIntegralUserRank") |
| | | public R getIntegralUserRank(@RequestParam("communityId") Long communityId, |
| | | @RequestParam("userId") Long userId) |
| | | { |
| | | return R.ok(comActIntegralUserService.getIntegralUserRank(communityId,userId)); |
| | | } |
| | | |
| | | |
| | | } |