mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
20 lines
438 B
Dart
20 lines
438 B
Dart
import 'package:PiliPalaX/http/loading_state.dart';
|
|
import 'package:PiliPalaX/pages/common/popup_controller.dart';
|
|
import 'package:PiliPalaX/http/video.dart';
|
|
|
|
class HotController extends PopupController {
|
|
final int _count = 20;
|
|
|
|
@override
|
|
void onInit() {
|
|
super.onInit();
|
|
queryData();
|
|
}
|
|
|
|
@override
|
|
Future<LoadingState> customGetData() => VideoHttp.hotVideoList(
|
|
pn: currentPage,
|
|
ps: _count,
|
|
);
|
|
}
|