by Robin at 20241210 #879
|
@ -12,7 +12,10 @@ type ActivityHotApiVO struct {
|
||||||
Hyperlinks []*dbstruct.Hyperlink `json:"hyperlinks" bson:"hyperlinks"` // 跳转链接
|
Hyperlinks []*dbstruct.Hyperlink `json:"hyperlinks" bson:"hyperlinks"` // 跳转链接
|
||||||
Gender int64 `json:"gender" bson:"gender"` // 性别
|
Gender int64 `json:"gender" bson:"gender"` // 性别
|
||||||
Age int64 `json:"age" bson:"age"` // 年龄
|
Age int64 `json:"age" bson:"age"` // 年龄
|
||||||
Tag []string `json:"tag" bson:"tag"` // 标签
|
Height int64 `json:"height" bson:"height"` // 身高
|
||||||
|
Weight int64 `json:"weight" bson:"weight"` // 体重
|
||||||
|
Constellation string `json:"constellation" bson:"constellation"` // 星座
|
||||||
|
City string `json:"city" bson:"city"` // 所在城市
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewActivityHotApiVO() *ActivityHotApiVO {
|
func NewActivityHotApiVO() *ActivityHotApiVO {
|
||||||
|
@ -57,7 +60,10 @@ func (vo *ActivityHotApiVO) CopyStreamer(streamer *dbstruct.Streamer) *ActivityH
|
||||||
}
|
}
|
||||||
vo.Gender = streamer.GetGender()
|
vo.Gender = streamer.GetGender()
|
||||||
vo.Age = streamer.GetAge()
|
vo.Age = streamer.GetAge()
|
||||||
vo.Tag = streamer.GetTag()
|
vo.Height = streamer.GetHeight()
|
||||||
|
vo.Weight = streamer.GetWeight()
|
||||||
|
vo.Constellation = streamer.GetConstellation()
|
||||||
|
vo.City = streamer.GetCity()
|
||||||
return vo
|
return vo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue