Skip to content

Commit

Permalink
feat(reply):添加回复自动设置消息为已读
Browse files Browse the repository at this point in the history
  • Loading branch information
li1553770945 committed Mar 5, 2023
1 parent b08b790 commit 902991c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions biz/internal/service/message/message_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ func (s *MessageService) GetReply(ctx context.Context, c *app.RequestContext) {
})
return
}
reply.HaveRead = true
s.Repo.SaveReply(reply)
c.JSON(consts.StatusOK, utils.H{
"code": 0,
"data": reply,
Expand Down

0 comments on commit 902991c

Please sign in to comment.