| | |
| | | import com.ruoyi.member.service.IMemberPointsService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | @RequestMapping("/getMemberPoints") |
| | | @ResponseBody |
| | | @ApiOperation(value = "获取用户积分") |
| | | public R<PageDTO<MemberPoints>> getMemberPoints(MemberDTO memberDTO) { |
| | | public R<PageDTO<MemberPoints>> getMemberPoints(@RequestBody MemberDTO memberDTO) { |
| | | return R.ok(iMemberPointsService.getMemberPoints(memberDTO)); |
| | | } |
| | | } |