| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.xcong.excoin.common.response.Result; |
| | | import com.xcong.excoin.modules.otc.dto.HasPayDto; |
| | | import com.xcong.excoin.modules.otc.dto.OrderApealDto; |
| | | import com.xcong.excoin.modules.otc.dto.OrderListDto; |
| | | import com.xcong.excoin.modules.otc.dto.OtcOrderAddDto; |
| | | import com.xcong.excoin.modules.otc.service.OtcOrderService; |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "取消订单") |
| | | @PostMapping(value = "/cancelOrder/{id}") |
| | | public Result cancelOrder(Long id) { |
| | | @PostMapping(value = "/cancelUserOrder/{id}") |
| | | public Result cancelUserOrder(@PathVariable("id") Long id) { |
| | | otcOrderService.cancelOrder(id); |
| | | return Result.ok("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "申诉") |
| | | @PostMapping(value = "/orderApeal") |
| | | public Result orderApeal(@RequestBody OrderApealDto orderApealDto) { |
| | | return otcOrderService.orderApeal(orderApealDto); |
| | | } |
| | | } |