master
luoyang 6 years ago
parent f509f81377
commit 49cf2a4b9b

@ -1185,6 +1185,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
}
clientModifySupport.processClientConfigModify(new SwitchPermissionModify(manager, clientMoniker, "enable_" + channel.toLowerCase(), allow));
logger.info(manager.getString("display_name") + "(" + manager.getString("manager_id") + ") switched client " + clientMoniker + " channel "
+ channel + " to " + allow);
if (allow == true) {
if (channel.equals("wechat") || channel.equals("alipay")) {
int clientId = client.getIntValue("client_id");
@ -1198,9 +1201,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
}
}
logger.info(manager.getString("display_name") + "(" + manager.getString("manager_id") + ") switched client " + clientMoniker + " channel "
+ channel + " to " + allow);
return;
}
}

Loading…
Cancel
Save