| | |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.utils.page.PageDTO; |
| | | import com.ruoyi.member.domain.MemberPoints; |
| | | import com.ruoyi.member.dto.MemberDTO; |
| | | import com.ruoyi.system.api.domain.MemberPoints; |
| | | import com.ruoyi.system.api.domain.dto.MemberDTO; |
| | | import com.ruoyi.member.service.IMemberPointsService; |
| | | import io.swagger.annotations.Api; |
| | | 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; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | public class ForepartMemberPointsController { |
| | | @Resource |
| | | private IMemberPointsService iMemberPointsService; |
| | | @RequestMapping("/getMemberPoints") |
| | | @ResponseBody |
| | | @PostMapping("/getMemberPoints") |
| | | @ApiOperation(value = "用户端-获取用户积分") |
| | | public R<PageDTO<MemberPoints>> getMemberPoints(@RequestBody MemberDTO memberDTO) { |
| | | return R.ok(iMemberPointsService.getMemberPoints(memberDTO)); |
| | | } |
| | | |
| | | } |