feat: cookie login

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-24 20:00:37 +08:00
parent 9223f40f6d
commit 5eed75e353
3 changed files with 104 additions and 4 deletions

View File

@@ -78,7 +78,6 @@ class Utils {
'${GStorage.setting.get(SettingBoxKey.defaultRcmdType, defaultValue: 'web')}'
'端」推荐');
await GStorage.userInfo.put('userInfoCache', result['data']);
try {
final HomeController homeCtr = Get.find<HomeController>();
homeCtr.updateLoginStatus(true);