feat: webui OB11Config

This commit is contained in:
手瓜一十雪 committed 2024-05-07 19:48:25 +08:00
1 parent 0a0edcf203
commit 37d0354751
2 files changed
+33 -1

No files matched your search

+10 -1
View File
@@ -2,7 +2,8 @@ let LoginRuntime = {
LoginCurrentTime: Date.now(),
LoginCurrentRate: 0,
QQLoginStatus: false, //得去那边注册个回调刷新
QQQRCodeURL: ""
QQQRCodeURL: "",
QQLoginUin: 0
}
export const DataRuntime = {
checkLoginRate: async function (RateLimit: number): Promise<boolean> {
@@ -32,4 +33,12 @@ export const DataRuntime = {
getQQLoginQrcodeURL: async function (): Promise<string> {
return LoginRuntime.QQQRCodeURL;
}
,
setQQLoginUin: async function (uin: number): Promise<void> {
LoginRuntime.QQLoginUin = uin;
}
,
getQQLoginUin: async function (): Promise<number> {
return LoginRuntime.QQLoginUin;
}
}