| | |
| | | @ApiImplicitParam(name = "id", value = "订单id", required = true, dataType = "String", paramType = "query"), |
| | | }) |
| | | @ApiOperation(value = "退款") |
| | | public ResponseEntity<ReturnDataDTO> refundOrder(String id) { |
| | | public ResponseEntity<ReturnDataDTO> refundOrder(String id) throws Exception { |
| | | orderService.refundCheck(id); |
| | | paymentV3Service.refundOrder(id); |
| | | return returnData(R.SUCCESS.getCode(), null); |
| | |
| | | orderService.deleteOrder(id); |
| | | return returnData(R.SUCCESS.getCode(), null); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | @GetMapping(value = "/copyOrder") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "订单id", required = true, dataType = "String", paramType = "query"), |
| | | }) |
| | | @ApiOperation(value = "再来一单") |
| | | public ResponseEntity<ReturnDataDTO> copyOrder(String id) { |
| | | String message=orderService.copyOrder(id); |
| | | return returnData(R.SUCCESS.getCode(),null, message); |
| | | } |
| | | |
| | | } |