Commit a60fd927 authored by hujiebin's avatar hujiebin

Update user.go

parent 82632d1b
......@@ -29,6 +29,7 @@ type UserTiny struct {
Country string `json:"country"`
CountryIcon string `json:"countryIcon"`
IsPrettyCode bool `json:"isPrettyCode"` // 是否靓号
Birthday uint64 `json:"birthday"`
}
func UserToTiny(user user_m.User) *UserTiny {
......@@ -42,6 +43,7 @@ func UserToTiny(user user_m.User) *UserTiny {
Country: user.Country,
CountryIcon: user.CountryIcon,
IsPrettyCode: user.IsPrettyCode(),
Birthday: user.Birthday,
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment