webSocketDemo a webSocket demo by SpringBoot 运行之后测试方法: 1.登录 打开http://localhost:8080/websocket/login?username=guest&password=123 2.连接 localhost:8080/index.html 3.推送消息到客户端 http://localhost:8080/websocket/sendToUser?username=guest&info=%E4%BD%A0%E5%A5%BD