zuoxiao
2025-06-25 a75d9020e09b7000d0e66387cc43211da04d2292
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/webUtil/WebSocketMessage.java
@@ -17,13 +17,11 @@
@NoArgsConstructor
@Builder
@Schema(name="websocket消息基类")
@JsonPropertyOrder({"type", "code", "content"})
@JsonPropertyOrder({"type", "content"})
public class WebSocketMessage<T> {
    @Schema(description = "数据类型")
    public String type;
    @Schema(description = "数据编码")
    public String code;//数据编码,具体数据具体定义其编码,可以为空
    @Schema(description = "数据")
    public T content;