diff --git a/api/proto/activity_hot/proto/activity_hot_api_vo.go b/api/proto/activity_hot/proto/activity_hot_api_vo.go index ca2b2ad6..fa66ac1e 100644 --- a/api/proto/activity_hot/proto/activity_hot_api_vo.go +++ b/api/proto/activity_hot/proto/activity_hot_api_vo.go @@ -11,6 +11,7 @@ type ActivityHotApiVO struct { Text string `json:"text" bson:"text"` // 文字内容 Hyperlinks []*dbstruct.Hyperlink `json:"hyperlinks" bson:"hyperlinks"` // 跳转链接 Gender int64 `json:"gender" bson:"gender"` // 性别 + Age int64 `json:"age" bson:"age"` // 年龄 Tag []string `json:"tag" bson:"tag"` // 标签 } @@ -55,6 +56,7 @@ func (vo *ActivityHotApiVO) CopyStreamer(streamer *dbstruct.Streamer) *ActivityH return vo } vo.Gender = streamer.GetGender() + vo.Age = streamer.GetAge() vo.Tag = streamer.GetTag() return vo }