作者 yangfu

修改评论

... ... @@ -967,14 +967,13 @@ func ChancePool(header *protocol.RequestHeader, request *protocol.ChancePoolRequ
log.Error(err)
return
}
if provider, err = agg.GetUserBaseInfo(header.UserId, header.CompanyId); err != nil {
log.Error(err)
return
}
rsp = &protocol.ChancePoolResponse{Total: total}
for i := 0; i < len(myChances); i++ {
chance := myChances[i]
if provider, err = agg.GetUserBaseInfo(chance.Uid, header.CompanyId); err != nil {
log.Error(err)
return
}
commItem := protocol.CommonListItem{}
{
item := protocol.ChanceItem{
... ...
... ... @@ -63,7 +63,7 @@ func IComment(header *protocol.RequestHeader, request *protocol.ICommentRequest)
orm.Rollback()
return
}
if baseUserInfo, err = agg.GetUserBaseInfo(header.Uid, header.CompanyId); err != nil {
if baseUserInfo, err = agg.GetUserBaseInfo(header.UserId, header.CompanyId); err != nil {
log.Error(err)
return
}
... ...