| | |
| | | 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; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 进入聊天框,获取聊天记录---获取未完成记录 |
| | | */ |
| | | @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 = "发送消息") |