liurunyu
5 天以前 1cf88d43994ec7ec403319032a9d118b39fe3571
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;