mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-22 03:44:13 +08:00
Update Galleries
This commit is contained in:
@@ -150,6 +150,8 @@ abstract class _EHApi {
|
||||
@Query("offset") int? offset,
|
||||
@Query("limit") int? limit,
|
||||
@Query("sort_by_gid") bool? sortByGid,
|
||||
@Query("uploader") String? uploader,
|
||||
@Query("tag") String? tag,
|
||||
@CancelRequest() CancelToken? cancel});
|
||||
|
||||
@GET('/tag/{id}')
|
||||
|
||||
@@ -531,6 +531,8 @@ class __EHApi implements _EHApi {
|
||||
int? offset,
|
||||
int? limit,
|
||||
bool? sortByGid,
|
||||
String? uploader,
|
||||
String? tag,
|
||||
CancelToken? cancel,
|
||||
}) async {
|
||||
const _extra = <String, dynamic>{};
|
||||
@@ -539,6 +541,8 @@ class __EHApi implements _EHApi {
|
||||
r'offset': offset,
|
||||
r'limit': limit,
|
||||
r'sort_by_gid': sortByGid,
|
||||
r'uploader': uploader,
|
||||
r'tag': tag,
|
||||
};
|
||||
queryParameters.removeWhere((k, v) => v == null);
|
||||
final _headers = <String, dynamic>{};
|
||||
|
||||
Reference in New Issue
Block a user