首页房间排行和默认选择类型

This commit is contained in:
2025-12-08 16:17:24 +08:00
parent dfe5fe96ec
commit 8336217944

View File

@@ -69,7 +69,7 @@ class Index extends BaseCom
}
//给前面添加一组数据
array_unshift($list, ['id' => -1, 'label_name' => '热门','default_index' => $is_default]);
array_unshift($list, ['id' => -1, 'label_name' => '热门','default_index' => $is_default, 'sort' => 99]);
return V(1, '获取成功', $list);
}