This commit is contained in:
苏尹岚
2020-11-30 18:26:15 +08:00
parent afeb65d616
commit e247aa69ba
5 changed files with 62 additions and 0 deletions

View File

@@ -278,6 +278,8 @@ func GetMessageGroupByUser(ctx *jxcontext.Context, userID string) (messageGroupR
if user3, err := dao.GetUserByID(db, "user_id", imMessageRecord.UserID); err == nil {
v.LastUserName = user3.Name
}
} else {
err = nil
}
//该用户各组的未读消息数
var unReadCount int