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.stereotype.Component;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ public class ServerInfo implements Comparable {
|
|||
private String coreName;
|
||||
|
||||
@Field(value = "server_version")
|
||||
private String server_version;
|
||||
private int server_version;
|
||||
|
||||
@Field(value = "isWhite")
|
||||
private String isWhite;
|
||||
|
|
@ -191,11 +191,11 @@ public class ServerInfo implements Comparable {
|
|||
this.coreName = coreName;
|
||||
}
|
||||
|
||||
public String getServer_version() {
|
||||
public int getServer_version() {
|
||||
return server_version;
|
||||
}
|
||||
|
||||
public void setServer_version(String server_version) {
|
||||
public void setServer_version(int server_version) {
|
||||
this.server_version = server_version;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue