JiuMuMesParent/common/servicebase/src/main/java/com/mes/tools/WebSocketServer.java
@@ -129,7 +129,6 @@ int startIndex = i * maxChunkSize; int endIndex = Math.min(startIndex + maxChunkSize, length); String chunk = message.substring(startIndex, endIndex); // 判断是否是最后一块消息 boolean isLastChunk = (i == chunks - 1); if(isLastChunk==true){ @@ -144,7 +143,7 @@ } } catch (Exception e) { log.error("发送消息给客户端失败:{}", e.getMessage(), e); //log.error("发送消息给客户端失败:{}", e.getMessage(), e); } }