This commit is contained in:
2023-11-30 20:17:54 +08:00
530 changed files with 206 additions and 87947 deletions

View File

@@ -7,6 +7,7 @@
<sourceRoots>
<root url="file://$MODULE_DIR$/src/main/java" />
<root url="file://$MODULE_DIR$/src/main/resources" />
<root url="file://$MODULE_DIR$/target/generated-sources/annotations" />
</sourceRoots>
</configuration>
</facet>

View File

@@ -410,7 +410,7 @@
//如果浏览器支持WebSocket
if (window.WebSocket) {
//参数就是与服务器连接的地址
socket = new WebSocket("ws://192.168.1.117:19000/ws");
socket = new WebSocket("ws://119.45.242.222:29001/ws");
//客户端收到服务器消息的时候就会执行这个回调方法
socket.onmessage = function (event) {