| | |
| | | import com.gkhy.exam.pay.entity.CoalPayStudent; |
| | | import com.gkhy.exam.pay.entity.PayReqData; |
| | | import com.gkhy.exam.pay.service.CoalPayService; |
| | | import com.gkhy.exam.pay.utils.BillSignException; |
| | | import com.gkhy.exam.pay.utils.PayUtils; |
| | | import com.gkhy.exam.pay.utils.ResultVo; |
| | | import com.ruoyi.common.annotation.Anonymous; |
| | |
| | | /** |
| | | * 查询煤矿缴费管理列表 |
| | | */ |
| | | @PostMapping("/list") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询煤矿缴费管理列表") |
| | | public TableDataInfo list(@RequestBody CoalPayReq coalPayReq) { |
| | | public TableDataInfo list(CoalPayReq coalPayReq) { |
| | | startPage(); |
| | | List<CoalPayRepDto> list = coalPayService.selectCoalPayList(coalPayReq); |
| | | return getDataTable(list); |
| | |
| | | @PostMapping("/topay") |
| | | @Anonymous |
| | | @ApiOperation(value = "缴费测试") |
| | | public AjaxResult toPay() throws IOException { |
| | | public AjaxResult toPay() throws IOException, BillSignException { |
| | | return success(coalPayService.topay()); |
| | | } |
| | | |