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