mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-12 07:50:25 +00:00
refactor: make ConfigBase abstract
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { OB11Config } from "@/onebot/helper/config";
|
||||
|
||||
import { OB11Config } from '@/onebot/helper/config';
|
||||
|
||||
interface LoginRuntimeType {
|
||||
LoginCurrentTime: number;
|
||||
@@ -30,6 +29,7 @@ const LoginRuntime: LoginRuntimeType = {
|
||||
QQLoginList: [],
|
||||
},
|
||||
};
|
||||
|
||||
export const WebUiDataRuntime = {
|
||||
checkLoginRate: async function(RateLimit: number): Promise<boolean> {
|
||||
LoginRuntime.LoginCurrentRate++;
|
||||
|
||||
Reference in New Issue
Block a user