feat: account manager (#468)

* feat: account manager

* remove dep

* some fixes

* migrate accounts

* reimplement clearCookie
This commit is contained in:
My-Responsitories
2025-03-19 13:19:32 +08:00
committed by GitHub
parent 94fa0652ac
commit b15fdfa2ff
47 changed files with 1233 additions and 800 deletions

View File

@@ -8,7 +8,7 @@ class Data {
}
static Future historyStatus() async {
if (GStorage.userInfo.get('userInfoCache') == null) {
if (!Accounts.main.isLogin) {
return;
}
var res = await UserHttp.historyStatus();