Add download zip page

This commit is contained in:
2023-09-16 13:14:23 +08:00
parent 93a307b143
commit f2b6ad465d
13 changed files with 412 additions and 16 deletions

View File

@@ -162,6 +162,14 @@ abstract class _EHApi {
@GET('/tag/rows')
Future<ApiResult<List<Tag>>> getRowTags(
{@CancelRequest() CancelToken? cancel});
@GET('/export/gallery/zip/{gid}')
@DioResponseType(ResponseType.stream)
Future<HttpResponse> exportGalleryZip(@Path("gid") int gid,
{@Query("jpn_title") bool? jpnTitle,
@Query("max_length") int? maxLength,
@Query("export_ad") bool? exportAd,
@CancelRequest() CancelToken? cancel});
}
class EHApi extends __EHApi {