| | |
| | | return Result.ok(page.getRecords()); |
| | | } |
| | | |
| | | @ApiOperation(value = "已付款,请放币") |
| | | @PostMapping(value = "/hasPay/{id}") |
| | | public Result hasPay(@PathVariable("id") Long id) { |
| | | @ApiOperation(value = "订单详情") |
| | | @GetMapping(value = "/orderDetail/{id}") |
| | | public Result orderDetail(@PathVariable("id") Long id) { |
| | | return null; |
| | | } |
| | | |
| | | @ApiOperation(value = "完成订单") |
| | | @PostMapping(value = "/finishSalesOrder/{id}") |
| | | @ApiOperation(value = "已付款,请放币") |
| | | @PostMapping(value = "/hasPay/{id}") |
| | | public Result hasPay(@PathVariable("id") Long id) { |
| | | otcOrderService.hasPay(id); |
| | | return Result.ok("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "确认收款") |
| | | @PostMapping(value = "/finishOrder/{id}") |
| | | public Result finishOrder(@PathVariable("id") Long id) { |
| | | return null; |
| | | otcOrderService.finishOrder(id); |
| | | return Result.ok("操作成功"); |
| | | } |
| | | } |