更新评论功能

- 评论现在在发送后自动刷新
- 评论现在在点赞后自动刷新
- 评论现在在创建后自动
刷新
- 评论现在在加载时自动刷新
- 评论现在在删除后自动刷新
- 评论现在在编辑后自动刷新
This commit is contained in:
2024-09-03 23:00:29 +08:00
parent c3a3cbc534
commit e371cd9e47
4 changed files with 71 additions and 34 deletions

View File

@@ -139,8 +139,8 @@ class CommentServiceImpl : CommentService {
selfNotice: Boolean?
): ListContainer<CommentEntity> {
val resp = ApiClient.api.getComments(
pageNumber,
postId,
page = pageNumber,
postId = postId,
postUser = postUser,
selfNotice = selfNotice?.let {
if (it) 1 else 0