作者 yangfu

评论时间排序修改

... ... @@ -74,11 +74,13 @@ func IComment(header *protocol.RequestHeader, request *protocol.ICommentRequest)
return
}
}
if recevierId != header.UserId {
if err = agg.SendMsg(recevierId, "", header.CompanyId, sourceId, request.SourceType, request.Content, protocol.MsgTypeComment, request.Id); err != nil {
log.Error(err)
orm.Rollback()
return
}
}
orm.Commit()
rsp = &protocol.ICommentResponse{
Id: newComment.Id,
... ...