opt req

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-15 09:52:25 +08:00
parent 1943b65788
commit 422b413778
51 changed files with 923 additions and 1143 deletions

View File

@@ -193,7 +193,7 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
SmartDialog.showToast('已三连');
return;
}
var result = await VideoHttp.oneThree(bvid: bvid);
var result = await VideoHttp.ugcTriple(bvid: bvid);
if (result['status']) {
UgcTriple data = result['data'];
late final stat = videoDetail.value.stat!;
@@ -211,7 +211,11 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
hasFav.value = true;
}
hasDislike.value = false;
SmartDialog.showToast('三连成功');
if (data.coin != true) {
SmartDialog.showToast('投币失败');
} else {
SmartDialog.showToast('三连成功');
}
} else {
SmartDialog.showToast(result['msg']);
}