mod: update thumb dyn api

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-29 10:54:36 +08:00
parent b876840d08
commit 6c757ec395
5 changed files with 45 additions and 13 deletions

View File

@@ -205,7 +205,7 @@ class ArticleController extends ReplyController<MainListReply> {
Future onLike() async {
bool isLike = stats.value?.like?.status == true;
final res = await DynamicsHttp.likeDynamic(
final res = await DynamicsHttp.thumbDynamic(
dynamicId: opusData?.idStr ?? articleData?.dynIdStr,
up: isLike ? 2 : 1);
if (res['status']) {