feat: load config from text (#1772)

* feat: load config from text

* opt: login utils

* update

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

---------

Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-12-09 22:09:57 +08:00
committed by GitHub
parent b4daf5fbd8
commit 244ef22f54
20 changed files with 264 additions and 208 deletions

View File

@@ -367,15 +367,15 @@ class FavHttp {
}
static Future<LoadingState<FavPgcData>> favPgc({
required dynamic mid,
required int type,
required int pn,
int? followStatus,
Object? mid,
}) async {
var res = await Request().get(
Api.favPgc,
queryParameters: {
'vmid': mid,
'vmid': mid ?? Accounts.main.mid,
'type': type,
'follow_status': ?followStatus,
'pn': pn,