From ae962c7393924f521c4f8927bc2ac4d3c330f043 Mon Sep 17 00:00:00 2001 From: macbookpro <1207537021@qq.com> Date: Sun, 10 Aug 2025 15:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF=E6=B3=A8=E5=86=8Ctcp=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E6=97=A0=E6=B3=95=E9=80=89=E6=8B=A9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../properties/LazyNettyServerProperties.java | 32 ++++++++----------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/domain/model/lazy/netty/server/properties/LazyNettyServerProperties.java b/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/domain/model/lazy/netty/server/properties/LazyNettyServerProperties.java index 337647a1..0daef479 100644 --- a/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/domain/model/lazy/netty/server/properties/LazyNettyServerProperties.java +++ b/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/domain/model/lazy/netty/server/properties/LazyNettyServerProperties.java @@ -9,69 +9,64 @@ import org.framework.lazy.cloud.network.heartbeat.common.enums.ProtocolType; import org.wu.framework.core.NormalUsedString; import java.time.LocalDateTime; + /** - * describe 服务端配置信息 + * describe 服务端配置信息 * * @author Jia wei Wu * @date 2024/04/03 03:00 下午 - * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomain + * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomain **/ @Data @Accessors(chain = true) -@Schema(title = "lazy_netty_server_properties",description = "服务端配置信息") +@Schema(title = "lazy_netty_server_properties", description = "服务端配置信息") public class LazyNettyServerProperties { - /** - * * 客户身份ID */ - @Schema(description ="客户身份ID",name ="clientId",example = "") + @Schema(description = "客户身份ID", name = "clientId", example = "") private String clientId; /** - * * 状态(on_line、off_line) */ - @Schema(description ="状态(on_line、off_line)",name ="connectStatus",example = "") + @Schema(description = "状态(on_line、off_line)", name = "connectStatus", example = "") private NettyClientStatus connectStatus; /** - * * 创建时间 */ - @Schema(description ="创建时间",name ="createTime",example = "") + @Schema(description = "创建时间", name = "createTime", example = "") private LocalDateTime createTime; /** - * * 服务端host */ - @Schema(description ="服务端host",name ="inetHost",example = "") + @Schema(description = "服务端host", name = "inetHost", example = "") private String inetHost; /** - * * 服务端端口 */ - @Schema(description ="服务端端口",name ="inetPort",example = "") + @Schema(description = "服务端端口", name = "inetPort", example = "") private Integer inetPort; /** - * * 类型(配置、DB) */ - @Schema(description ="类型(配置、DB)",name ="type",example = "") + @Schema(description = "类型(配置、DB)", name = "type", example = "") private PropertiesType type; /** * 协议类型 + * 默认tcp */ @Schema(description = "协议类型", name = "protocol_type", example = "") - private ProtocolType protocolType; + private ProtocolType protocolType = ProtocolType.TCP; /** * 令牌key */ @@ -84,10 +79,9 @@ public class LazyNettyServerProperties { @Schema(description = "令牌密钥", name = "appSecret", example = "") private String appSecret; /** - * * 更新时间 */ - @Schema(description ="更新时间",name ="updateTime",example = "") + @Schema(description = "更新时间", name = "updateTime", example = "") private LocalDateTime updateTime; } \ No newline at end of file