|
...
|
...
|
@@ -429,6 +429,7 @@ func MsgChanceComment(header *protocol.RequestHeader, request *protocol.MsgChanc |
|
|
|
Id: chance.CommentId,
|
|
|
|
CommentTime: chance.CommentTime.Unix() * 1000,
|
|
|
|
Content: chance.CommentContent,
|
|
|
|
Provider: provider,
|
|
|
|
}
|
|
|
|
comment.Provider, _ = agg.GetUserBaseInfo(chance.ReceiveUserId, header.CompanyId)
|
|
|
|
commItem.CommentData = comment
|
|
...
|
...
|
@@ -502,13 +503,12 @@ func MsgChanceThumbUp(header *protocol.RequestHeader, request *protocol.MsgChanc |
|
|
|
Provider: provider,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if provider, _ = agg.GetUserBaseInfo(chance.Uid, header.CompanyId); err != nil {
|
|
|
|
|
|
|
|
}
|
|
|
|
thumb := protocol.ThumbUpData{
|
|
|
|
Id: chance.CommentId,
|
|
|
|
ThumbUpTime: chance.CommentTime.Unix() * 1000,
|
|
|
|
Content: chance.CommentContent,
|
|
|
|
Provider: provider,
|
|
|
|
}
|
|
|
|
thumb.Provider, _ = agg.GetUserBaseInfo(chance.ReceiveUserId, header.CompanyId)
|
|
|
|
commItem.ThumbUpData = thumb
|
...
|
...
|
|