正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -429,6 +429,7 @@ func MsgChanceComment(header *protocol.RequestHeader, request *protocol.MsgChanc | @@ -429,6 +429,7 @@ func MsgChanceComment(header *protocol.RequestHeader, request *protocol.MsgChanc | ||
| 429 | Id: chance.CommentId, | 429 | Id: chance.CommentId, |
| 430 | CommentTime: chance.CommentTime.Unix() * 1000, | 430 | CommentTime: chance.CommentTime.Unix() * 1000, |
| 431 | Content: chance.CommentContent, | 431 | Content: chance.CommentContent, |
| 432 | + Provider: provider, | ||
| 432 | } | 433 | } |
| 433 | comment.Provider, _ = agg.GetUserBaseInfo(chance.ReceiveUserId, header.CompanyId) | 434 | comment.Provider, _ = agg.GetUserBaseInfo(chance.ReceiveUserId, header.CompanyId) |
| 434 | commItem.CommentData = comment | 435 | commItem.CommentData = comment |
| @@ -502,13 +503,12 @@ func MsgChanceThumbUp(header *protocol.RequestHeader, request *protocol.MsgChanc | @@ -502,13 +503,12 @@ func MsgChanceThumbUp(header *protocol.RequestHeader, request *protocol.MsgChanc | ||
| 502 | Provider: provider, | 503 | Provider: provider, |
| 503 | } | 504 | } |
| 504 | } | 505 | } |
| 505 | - if provider, _ = agg.GetUserBaseInfo(chance.Uid, header.CompanyId); err != nil { | ||
| 506 | 506 | ||
| 507 | - } | ||
| 508 | thumb := protocol.ThumbUpData{ | 507 | thumb := protocol.ThumbUpData{ |
| 509 | Id: chance.CommentId, | 508 | Id: chance.CommentId, |
| 510 | ThumbUpTime: chance.CommentTime.Unix() * 1000, | 509 | ThumbUpTime: chance.CommentTime.Unix() * 1000, |
| 511 | Content: chance.CommentContent, | 510 | Content: chance.CommentContent, |
| 511 | + Provider: provider, | ||
| 512 | } | 512 | } |
| 513 | thumb.Provider, _ = agg.GetUserBaseInfo(chance.ReceiveUserId, header.CompanyId) | 513 | thumb.Provider, _ = agg.GetUserBaseInfo(chance.ReceiveUserId, header.CompanyId) |
| 514 | commItem.ThumbUpData = thumb | 514 | commItem.ThumbUpData = thumb |
-
请 注册 或 登录 后发表评论