推荐视频评论和点赞

This commit is contained in:
cuiyouliang 2025-08-22 18:29:33 +08:00
parent 6cec14448c
commit 212fdea5a0

View File

@ -663,9 +663,7 @@ Future<void> fetchComments(int videoId, {bool loadMore = false}) async {
});
final resCode = res['code'];
if (resCode == 200) {
setState(() {
item['doILikeThisVlog'] = !item['doILikeThisVlog'];
});
}
} catch (e) {
logger.i('点击取消喜欢按钮报错: $e');
@ -680,9 +678,7 @@ Future<void> fetchComments(int videoId, {bool loadMore = false}) async {
});
final resCode = res['code'];
if (resCode == 200) {
setState(() {
item['doILikeThisVlog'] = !item['doILikeThisVlog'];
});
}
logger.i('点赞返回信息----------->: $res');
} catch (e) {