src/main/java/com/xcong/excoin/modules/otc/controller/OtcOrderController.java
@@ -43,6 +43,9 @@ } @ApiOperation(value = "用户订单列表") @ApiResponses({ @ApiResponse(code = 200, message = "success", response = OrderListVo.class) }) @PostMapping(value = "/orderList") public Result orderList(@RequestBody OrderListDto orderListDto) { IPage<OrderListVo> page = otcOrderService.findOrderListInPage(orderListDto); @@ -80,4 +83,10 @@ otcOrderService.finishOrder(id); return Result.ok("操作成功"); } @ApiOperation(value = "取消订单") @PostMapping(value = "/cancelOrder/{id}") public Result cancelOrder(Long id) { return null; } }