mod: 本地缓存字段修改、登录状态

This commit is contained in:
guozhigq
2023-08-20 14:28:50 +08:00
parent 8627869309
commit 83341cd62b
29 changed files with 217 additions and 167 deletions

View File

@ -10,8 +10,8 @@ class Data {
static Future historyStatus() async {
Box localCache = GStrorage.localCache;
Box user = GStrorage.user;
if (user.get(UserBoxKey.userMid) == null) {
Box userInfoCache = GStrorage.userInfo;
if (userInfoCache.get('userInfoCache') == null) {
return;
}
var res = await UserHttp.historyStatus();