generated from root/miduo_server
功能优化
parent
8b96c6e0cf
commit
c387945d2b
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue