revert: getWbiKeys

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-18 21:14:37 +08:00
parent e27476bc32
commit f56ca9c082

View File

@@ -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(