generated from root/miduo_server
日志稍后删除
parent
0d63b09da6
commit
3774bd73de
|
|
@ -126,6 +126,37 @@ public class ServerInfoController {
|
|||
if (cServerOpenTime == null){
|
||||
return null;
|
||||
}
|
||||
Long a1= 1633795200L;
|
||||
Long a12= 1634140800L;
|
||||
|
||||
Long a2= 1631116800L;
|
||||
Long a22= 1631721600L;
|
||||
|
||||
Long a3= 1628697600L;
|
||||
Long a32= 1629302400L;
|
||||
|
||||
Long a4= 1626278400L;
|
||||
Long a42= 1626883200L;
|
||||
|
||||
Long a5= 1623859200L;
|
||||
Long a52= 1624464000L;
|
||||
|
||||
long openTime1 = DateUtil.timeToStamp(cServerOpenTime.getOpenTime());
|
||||
if(openTime1>=a1&& openTime1<=a12){
|
||||
LOGGER.info("非问题服务器id:"+cServerOpenTime.getId());
|
||||
}
|
||||
if(openTime1>=a2&& openTime1<=a22){
|
||||
LOGGER.info("非问题服务器id:"+cServerOpenTime.getId());
|
||||
}
|
||||
if(openTime1>=a3&& openTime1<=a32){
|
||||
LOGGER.info("非问题服务器id:"+cServerOpenTime.getId());
|
||||
}
|
||||
if(openTime1>=a4&& openTime1<=a42){
|
||||
LOGGER.info("非问题服务器id:"+cServerOpenTime.getId());
|
||||
}
|
||||
if(openTime1>=a5&& openTime1<=a52){
|
||||
LOGGER.info("非问题服务器id:"+cServerOpenTime.getId());
|
||||
}
|
||||
serverStatus.put(serverId,cServerOpenTime,DateUtil.ONE_HOUR);
|
||||
return cServerOpenTime;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue