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