| | |
| | | import cc.mrbird.febs.mall.vo.MallGoodsCommentVo; |
| | | import cc.mrbird.febs.mall.vo.MallGoodsDetailsVo; |
| | | import cc.mrbird.febs.mall.vo.MallGoodsListVo; |
| | | import cc.mrbird.febs.websocket.WsSessionManager; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiResponse; |
| | |
| | | return new FebsResponse().success().data(mallGoodsService.findMallGoodsCommentByGoodsId(queryDto)); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * TODO 测试 |
| | | */ |
| | | |
| | | @ApiOperation(value = "模拟服务器给链接的websocket发送消息", notes = "模拟服务器给链接的websocket发送消息") |
| | | @GetMapping(value = "/token//{inviteId}/{text}") |
| | | public FebsResponse token(@PathVariable String inviteId, @PathVariable String text) { |
| | | WsSessionManager.sendMsgToOne(inviteId,text); |
| | | return new FebsResponse().success(); |
| | | } |
| | | |
| | | } |