报错修改

master
duhui 2021-11-02 18:20:03 +08:00
parent e532d7f5eb
commit fa56eefa18
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}