From 8da201d092f8977d8407d2d49b248c28c45eee70 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 20 May 2021 17:53:47 +0800 Subject: [PATCH] modify --- src/main/java/com/xcong/excoin/modules/otc/controller/OtcOrderController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcOrderController.java b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcOrderController.java index ef94ab0..c582235 100644 --- a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcOrderController.java +++ b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcOrderController.java @@ -4,8 +4,8 @@ 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.OrderAddDto; import com.xcong.excoin.modules.otc.dto.OrderListDto; +import com.xcong.excoin.modules.otc.dto.OtcOrderAddDto; import com.xcong.excoin.modules.otc.service.OtcOrderService; import com.xcong.excoin.modules.otc.vo.BuyOrderDetailVo; import com.xcong.excoin.modules.otc.vo.OrderListVo; @@ -32,14 +32,14 @@ @ApiOperation(value = "我要购买") @PostMapping(value = "/buy") - public Result buy(@RequestBody OrderAddDto orderAddDto) { + public Result buy(@RequestBody OtcOrderAddDto orderAddDto) { otcOrderService.buyOrder(orderAddDto); return Result.ok("购买成功"); } @ApiOperation(value = "我要出售") @PostMapping(value = "/sale") - public Result sale(@RequestBody OrderAddDto orderAddDto) { + public Result sale(@RequestBody OtcOrderAddDto orderAddDto) { otcOrderService.saleOrder(orderAddDto); return Result.ok("出售成功"); } -- Gitblit v1.9.1