| package com.xzx.gc.pay.controller; | 
|   | 
| import com.github.pagehelper.PageHelper; | 
| import com.xzx.gc.common.Result; | 
| import com.xzx.gc.common.request.BaseController; | 
| import com.xzx.gc.model.pay.PayScoreParamDTO; | 
| import com.xzx.gc.model.pay.PayScoreResDTO; | 
| import com.xzx.gc.pay.service.PayService; | 
| import io.swagger.annotations.Api; | 
| import io.swagger.annotations.ApiOperation; | 
| import lombok.extern.slf4j.Slf4j; | 
| import org.springframework.beans.factory.annotation.Autowired; | 
| import org.springframework.web.bind.annotation.PostMapping; | 
| import org.springframework.web.bind.annotation.RequestBody; | 
| import org.springframework.web.bind.annotation.RestController; | 
|   | 
| import javax.servlet.http.HttpServletRequest; | 
|   | 
| @Api(tags = "积分管理") | 
| @RestController | 
| @Slf4j | 
| public class ScoreController extends BaseController { | 
|     @Autowired | 
|     private PayService payService; | 
|   | 
|   | 
|     @PostMapping( "/admin/front/pay/score/list") | 
|     @ApiOperation(value="查询积分列表") | 
|     public Result<PayScoreResDTO> scoreList(@RequestBody PayScoreParamDTO payScoreParamDTO, HttpServletRequest request) { | 
|         PageHelper.startPage(payScoreParamDTO.getPageNo(),payScoreParamDTO.getPageSize()); | 
|         PayScoreResDTO payScoreResDTO=payService.scoreList(payScoreParamDTO); | 
|         return Result.success(payScoreResDTO); | 
|     } | 
| } |