功能优化

master
duhui 2022-04-27 13:18:57 +08:00
parent 8b96c6e0cf
commit c387945d2b
1 changed files with 2 additions and 1 deletions

View File

@ -261,7 +261,8 @@ public class ServerInfoController {
// 未运营状态的服务器需要进行清库处理
if (info != null){
// 未运营状态需要清库
if (Integer.parseInt(info.getStatus()) == ServerStatusEnum.NOT_OPERATE.getId()){
int state = ServerStatusEnum.NOT_OPERATE.getId();
if (Integer.parseInt(info.getStatus()) == state && Integer.parseInt(serverInfo.getStatus()) != state){
// 验证自动开服状态
if (AutoServerManager.isOpen()){
return 3;