feat: add refresh button & parse dialog

This commit is contained in:
Simon Ding
2024-11-01 21:53:38 +08:00
parent 2da02fa706
commit e67413cec2
8 changed files with 291 additions and 59 deletions

View File

@@ -84,7 +84,7 @@ class SeriesDetailData
Future<dynamic> downloadall() async {
final dio = APIs.getDio();
var resp = await dio.get(APIs.downloadAllUrl + id!);
var resp = await dio.get(APIs.downloadAllEpisodesUrl + id!);
var sp = ServerResponse.fromJson(resp.data);
if (sp.code != 0) {
throw sp.message;