mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: common slide page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -82,14 +82,18 @@ class WbiSign {
|
||||
return mixinKey;
|
||||
}
|
||||
final resp = await Request().get(Api.userInfo);
|
||||
final wbiUrls = resp.data['data']['wbi_img'];
|
||||
|
||||
mixinKey = getMixinKey(
|
||||
getFileName(wbiUrls['img_url']) + getFileName(wbiUrls['sub_url']));
|
||||
if (resp.data['code'] == 0) {
|
||||
final wbiUrls = resp.data['data']['wbi_img'];
|
||||
|
||||
localCache.put(LocalCacheKey.mixinKey, mixinKey);
|
||||
localCache.put(LocalCacheKey.timeStamp, nowDate.millisecondsSinceEpoch);
|
||||
return mixinKey;
|
||||
mixinKey = getMixinKey(
|
||||
getFileName(wbiUrls['img_url']) + getFileName(wbiUrls['sub_url']));
|
||||
|
||||
localCache.put(LocalCacheKey.mixinKey, mixinKey);
|
||||
localCache.put(LocalCacheKey.timeStamp, nowDate.millisecondsSinceEpoch);
|
||||
}
|
||||
|
||||
return mixinKey ?? '';
|
||||
}
|
||||
|
||||
static Future<Map<String, dynamic>> makSign(
|
||||
|
||||
Reference in New Issue
Block a user