Commit 10ce27d3 authored by daniel's avatar daniel

fix(websocket): 新增一个心跳

parent 10f3fd13
......@@ -41,6 +41,7 @@ public class TicketWebSocketHandler extends TextWebSocketHandler {
break;
case "heartbeat":
// 可记录心跳时间
wrapper.sendMessage(WebSocketMessage.info(ticketNo, "心跳成功").toJson());
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment