优化级联平台注册的周期时间

This commit is contained in:
648540858
2022-09-02 15:49:40 +08:00
parent 7db2bf7b51
commit ee7ef0bf41
4 changed files with 149 additions and 48 deletions

View File

@@ -90,7 +90,7 @@ public class ParentPlatform {
* 心跳周期(秒)
*/
@Schema(description = "心跳周期(秒)")
private String keepTimeout;
private int keepTimeout;
/**
* 传输协议
@@ -294,11 +294,11 @@ public class ParentPlatform {
this.expires = expires;
}
public String getKeepTimeout() {
public int getKeepTimeout() {
return keepTimeout;
}
public void setKeepTimeout(String keepTimeout) {
public void setKeepTimeout(int keepTimeout) {
this.keepTimeout = keepTimeout;
}