防护:接口访问限制

This commit is contained in:
luying
2022-01-08 18:15:25 +08:00
parent 0f8a4a946e
commit e793e8bc94
6 changed files with 45 additions and 24 deletions

View File

@@ -5,10 +5,8 @@
"chat.chatHandler.sendPrivateMessage",
"battle.barrageHandler.sendBarrage"
],
"API_IS_CLOSE": 1,
"CLOSE_APIS": [
"chat.chatHandler.sendGroupMessage"
],
"API_IS_CLOSE": 0,
"CLOSE_APIS": [],
"CLOSE_LOGIN": 0,
"CLOSE_LOGIN_WHEN_ONLINE_MAX": 1,
"MAX_ONLINE_USER_COUNT": 5000