From b8f1086e61f843a43e7b41e670a6d4d28b9fcbc2 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 27 May 2021 18:42:44 +0800 Subject: [PATCH] 20210527 最多三个待付款 --- src/main/java/com/xcong/excoin/modules/otc/controller/OtcMsgController.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcMsgController.java b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcMsgController.java index 4e81c56..c6bde94 100644 --- a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcMsgController.java +++ b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcMsgController.java @@ -5,6 +5,7 @@ import com.xcong.excoin.modules.otc.dto.*; import com.xcong.excoin.modules.otc.service.OtcMsgService; import com.xcong.excoin.modules.otc.vo.ChatBoxVo; +import com.xcong.excoin.modules.otc.vo.ChatOrderVo; import com.xcong.excoin.modules.otc.vo.MsgListVo; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -66,6 +67,18 @@ } /** + * 进入聊天框,获取聊天记录---获取未完成记录 + */ + @ApiOperation(value = "进入聊天框---获取未完成记录") + @ApiResponses({ + @ApiResponse(code = 200, message = "success", response = ChatOrderVo.class) + }) + @PostMapping(value = "/getChatOrder") + public Result getChatOrder(@RequestBody ChatOrderDto chatOrderDto) { + return otcMsgService.getChatOrder(chatOrderDto); + } + + /** * 发送消息 */ @ApiOperation(value = "发送消息") -- Gitblit v1.9.1