| | |
| | | import com.gkhy.exam.pay.dto.req.CoalPayTypeReq; |
| | | import com.gkhy.exam.pay.entity.CoalPayStudent; |
| | | import com.gkhy.exam.pay.service.CoalPayService; |
| | | import com.ruoyi.common.annotation.Anonymous; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | |
| | | /** |
| | | * 个人缴费接口 |
| | | */ |
| | | @PostMapping("/findStudent") |
| | | @GetMapping("/findStudent") |
| | | @Anonymous |
| | | @ApiOperation(value ="H5个人缴费查询") |
| | | public AjaxResult findStudent(@RequestBody CoalPayStudentReq coalPayStudent){ |
| | | List<CoalPayStudentRep> coalPayStudentReps = coalPayService.selectCoalPay(coalPayStudent); |
| | | public AjaxResult findStudent(@RequestParam("idCard") String idCard,@RequestParam("phone") String phone){ |
| | | List<CoalPayStudentRep> coalPayStudentReps = coalPayService.selectCoalPay(idCard,phone); |
| | | return success(coalPayStudentReps); |
| | | } |
| | | |
| | | |
| | | |
| | | // @PostMapping("/personPay") |
| | | // @ApiOperation(value = "个人缴费接口") |
| | | // public void payFees(){ |
| | | // |
| | | // } |
| | | @PostMapping("/personPay") |
| | | @ApiOperation(value = "个人缴费接口") |
| | | public AjaxResult payMoney(@RequestParam("coalPayId") Long coalPayId,@RequestParam("studentId") Long studentId){ |
| | | return success(coalPayService.personPayMoney(coalPayId,studentId)); |
| | | } |
| | | |
| | | |
| | | |