refa fav video

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-24 12:40:29 +08:00
parent 6d48c70020
commit 0c6bc9d58a
11 changed files with 118 additions and 58 deletions

View File

@@ -406,8 +406,8 @@ class VideoDetailController extends GetxController
}
SmartDialog.showToast(res['msg']);
} else {
var res = await FavHttp.delFav(
ids: ['${item.aid}:${item.type}'],
var res = await FavHttp.favVideo(
resources: '${item.aid}:${item.type}',
delIds: '${Get.arguments?['mediaId']}',
);
if (res['status']) {