feat: sort zone of video search

This commit is contained in:
bggRGjQaUbCoE
2024-09-28 10:39:20 +08:00
parent 1650f138b6
commit 9e8ce5b093
4 changed files with 132 additions and 43 deletions

View File

@@ -75,6 +75,7 @@ class SearchHttp {
required page,
String? order,
int? duration,
int? tids,
}) async {
var reqData = {
'search_type': searchType.type,
@@ -84,6 +85,7 @@ class SearchHttp {
'page': page,
if (order != null) 'order': order,
if (duration != null) 'duration': duration,
if (tids != null) 'tids': tids,
};
var res = await Request().get(Api.searchByType, data: reqData);
if (res.data['code'] == 0 && res.data['data']['numPages'] > 0) {