点赞列表显示评论点赞关联的动态
This commit is contained in:
@@ -132,6 +132,8 @@ data class NoticeComment(
|
||||
val replyComment: NoticeComment?,
|
||||
@SerializedName("postId")
|
||||
val postId: Int,
|
||||
@SerializedName("post")
|
||||
val post: NoticePost?,
|
||||
) {
|
||||
fun toNoticeCommentEntity(): NoticeCommentEntity {
|
||||
return NoticeCommentEntity(
|
||||
@@ -139,7 +141,8 @@ data class NoticeComment(
|
||||
content = content,
|
||||
postId = postId,
|
||||
time = ApiClient.dateFromApiString(time),
|
||||
replyComment = replyComment?.toNoticeCommentEntity()
|
||||
replyComment = replyComment?.toNoticeCommentEntity(),
|
||||
post = post?.toNoticePostEntity()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user