feat: webui OB11Config
This commit is contained in:
1 parent
0a0edcf203
commit
37d0354751
2 files changed
+33
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user