防护:添加人数过多防护措施

This commit is contained in:
luying
2022-01-08 17:13:31 +08:00
parent f2c4be6443
commit 0f8a4a946e
18 changed files with 287 additions and 25 deletions
+2
View File
@@ -6,6 +6,7 @@ import ExportCheckMainten from '../../../app/middleware/checkMainten';
import ExportGetIp from '../../../app/middleware/getIp';
import ExportGmTokenParser from '../../../app/middleware/gmTokenParser';
import ExportParmsDecode from '../../../app/middleware/parmsDecode';
import ExportProxy from '../../../app/middleware/proxy';
import ExportTokenParser from '../../../app/middleware/tokenParser';
declare module 'egg' {
@@ -14,6 +15,7 @@ declare module 'egg' {
getIp: typeof ExportGetIp;
gmTokenParser: typeof ExportGmTokenParser;
parmsDecode: typeof ExportParmsDecode;
proxy: typeof ExportProxy;
tokenParser: typeof ExportTokenParser;
}
}