mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 08:38:18 +08:00
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:
committed by
GitHub
parent
b4daf5fbd8
commit
244ef22f54
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user