feat: 搜索分区UI
This commit is contained in:
@ -75,6 +75,7 @@ class SearchHttp {
|
||||
required page,
|
||||
String? order,
|
||||
int? duration,
|
||||
int? tid,
|
||||
}) 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 (tid != null) 'tid': tid,
|
||||
};
|
||||
var res = await Request().get(Api.searchByType, data: reqData);
|
||||
if (res.data['code'] == 0 && res.data['data']['numPages'] > 0) {
|
||||
|
||||
Reference in New Issue
Block a user