Revert "chore: clean up"

This reverts commit 538494b7ec.
This commit is contained in:
bggRGjQaUbCoE
2025-04-20 18:04:06 +08:00
parent a5c7ec0d60
commit 6f4321ae14
90 changed files with 1814 additions and 493 deletions

View File

@@ -7,6 +7,8 @@ import 'package:get/get.dart';
class HotController
extends CommonListController<List<HotVideoItemModel>, HotVideoItemModel> {
// int idx = 0;
late RxBool showHotRcmd = GStorage.showHotRcmd.obs;
@override
@@ -15,10 +17,24 @@ class HotController
queryData();
}
// @override
// Future onRefresh() {
// idx = 0;
// return super.onRefresh();
// }
@override
Future<LoadingState<List<HotVideoItemModel>>> customGetData() =>
VideoHttp.hotVideoList(
pn: currentPage,
ps: 20,
);
// @override
// void handleSuccess(List currentList, List dataList) {
// idx = (dataList.last as Card?)?.smallCoverV5.base.idx.toInt() ?? 0;
// }
// @override
// Future<LoadingState> customGetData() => VideoHttp.hotVideoListGrpc(idx: idx);
}