Commit 5a5b5973 authored by hujiebin's avatar hujiebin

fix

parent 95a33fb5
...@@ -506,6 +506,7 @@ func getMicUserData(model *domain.Model, userId uint64) (*MicUserData, error) { ...@@ -506,6 +506,7 @@ func getMicUserData(model *domain.Model, userId uint64) (*MicUserData, error) {
var headwearPicUrl string var headwearPicUrl string
var headwearEffectUrl string var headwearEffectUrl string
var headwearReverseEffectUrl string
headwear, err := user_m.GetUserHeadwearUsing(model, userId) headwear, err := user_m.GetUserHeadwearUsing(model, userId)
if err != nil { if err != nil {
...@@ -525,18 +526,19 @@ func getMicUserData(model *domain.Model, userId uint64) (*MicUserData, error) { ...@@ -525,18 +526,19 @@ func getMicUserData(model *domain.Model, userId uint64) (*MicUserData, error) {
} }
return &MicUserData{ return &MicUserData{
Id: user.ID, Id: user.ID,
ExternalId: user.ExternalId, ExternalId: user.ExternalId,
Avatar: user.Avatar, Avatar: user.Avatar,
Nick: user.Nick, Nick: user.Nick,
Sex: user.Sex, Sex: user.Sex,
Code: user.Code, Code: user.Code,
IsVip: flag, IsVip: flag,
NobleLeave: nobleLeave, NobleLeave: nobleLeave,
HeadwearPicUrl: headwearPicUrl, HeadwearPicUrl: headwearPicUrl,
HeadwearEffectUrl: headwearEffectUrl, HeadwearEffectUrl: headwearEffectUrl,
SvipLevel: svip.SvipLevel, HeadwearReverseEffectUrl: headwearReverseEffectUrl,
Svip: rpc.CopySimpleSvip(svip), SvipLevel: svip.SvipLevel,
HeadwearIcon: headwearIcon, Svip: rpc.CopySimpleSvip(svip),
HeadwearIcon: headwearIcon,
}, nil }, nil
} }
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