generated from root/miduo_server
添加服务器
parent
629da6c23f
commit
5c9888467f
|
|
@ -8,7 +8,6 @@ import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import javax.annotation.PostConstruct;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ public class ServerInfo implements Comparable {
|
||||||
private String coreName;
|
private String coreName;
|
||||||
|
|
||||||
@Field(value = "server_version")
|
@Field(value = "server_version")
|
||||||
private String server_version;
|
private int server_version;
|
||||||
|
|
||||||
@Field(value = "isWhite")
|
@Field(value = "isWhite")
|
||||||
private String isWhite;
|
private String isWhite;
|
||||||
|
|
@ -191,11 +191,11 @@ public class ServerInfo implements Comparable {
|
||||||
this.coreName = coreName;
|
this.coreName = coreName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getServer_version() {
|
public int getServer_version() {
|
||||||
return server_version;
|
return server_version;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setServer_version(String server_version) {
|
public void setServer_version(int server_version) {
|
||||||
this.server_version = server_version;
|
this.server_version = server_version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue