feat: app端首页推荐

This commit is contained in:
guozhigq
2023-08-14 10:05:16 +08:00
parent 17b02d9ae9
commit 0d852987fa
9 changed files with 140 additions and 23 deletions

View File

@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:hive/hive.dart';
import 'package:pilipala/http/index.dart';
import 'package:pilipala/http/user.dart';
import 'package:pilipala/models/common/tab_type.dart';
import 'package:pilipala/utils/storage.dart';
@ -54,6 +55,7 @@ class HomeController extends GetxController with GetTickerProviderStateMixin {
if (res.data['code'] == 0) {
defaultSearch.value = res.data['data']['name'];
}
UserHttp.thirdLogin();
}
// 更新登录状态