政治需求:关闭接口功能
This commit is contained in:
@@ -14,13 +14,23 @@ interface ProtectApi {
|
||||
// 频率 毫秒
|
||||
readonly interval: number;
|
||||
}
|
||||
interface CloseApi {
|
||||
// id
|
||||
readonly id: number;
|
||||
// 描述
|
||||
readonly desc: string;
|
||||
// 接口
|
||||
readonly route: string;
|
||||
// 参数
|
||||
readonly param: any;
|
||||
}
|
||||
export interface DicServerConst {
|
||||
// 保护的接口
|
||||
readonly PROTECT_API: ProtectApi[];
|
||||
// 某些api功能关闭
|
||||
readonly API_IS_CLOSE: number;
|
||||
// 关闭的接口
|
||||
readonly CLOSE_APIS: string[];
|
||||
readonly CLOSE_APIS: CloseApi[];
|
||||
// 是否直接关掉登录
|
||||
readonly CLOSE_LOGIN: number;
|
||||
// 是否当检测在线玩家过多是关掉登录
|
||||
|
||||
Reference in New Issue
Block a user