mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 02:26:52 +08:00
opt ui
opt req Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user