mod: 请求参数结构、评论页面初始化
This commit is contained in:
@ -19,10 +19,10 @@ class HotController extends GetxController {
|
||||
|
||||
// 获取推荐
|
||||
Future queryHotFeed(type) async {
|
||||
var res = await VideoHttp.hotVideoList({
|
||||
'pn': _currentPage,
|
||||
'ps': _count,
|
||||
});
|
||||
var res = await VideoHttp.hotVideoList(
|
||||
pn: _currentPage,
|
||||
ps: _count,
|
||||
);
|
||||
if (res['status']) {
|
||||
if (type == 'init') {
|
||||
videoList.value = res['data'];
|
||||
|
Reference in New Issue
Block a user