common dyn page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-01 11:00:18 +08:00
parent f7d4db6aad
commit aa8eef46da
11 changed files with 920 additions and 1369 deletions

View File

@@ -341,7 +341,7 @@ class RequestUtils {
// 动态点赞
static Future<void> onLikeDynamic(
DynamicItemModel item,
VoidCallback callback,
VoidCallback onSuccess,
) async {
feedBack();
String dynamicId = item.idStr!;
@@ -362,7 +362,7 @@ class RequestUtils {
?..count = count - 1
..status = false;
}
callback();
onSuccess();
} else {
SmartDialog.showToast(res['msg']);
}