generated from root/miduo_server
报错修改
parent
e532d7f5eb
commit
fa56eefa18
|
@ -354,10 +354,10 @@ public class ServerInfoController {
|
|||
|
||||
// 游戏端口校验
|
||||
ServerInfo info = allServerMap.get(serverId);
|
||||
ports[0] = checkPort(gamePorts, info.getPort())?1:0;
|
||||
ports[0] = checkPort(gamePorts, info.getPort(),"160")?1:0;
|
||||
// 支付端口校验
|
||||
String payPort = getPayPort(info.getPort());
|
||||
ports[1] = checkPort(payPorts, payPort)?1:0;
|
||||
ports[1] = checkPort(payPorts, payPort,"180")?1:0;
|
||||
// 缓存处理,半小时
|
||||
portStatusMap.put(serverId,ports,DateUtil.ONE_HOUR/2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue