From 5a5b59730c28a9b41415edb53fd7bed260ef0b1d Mon Sep 17 00:00:00 2001 From: hujiebin Date: Thu, 15 Jun 2023 15:53:19 +0800 Subject: [PATCH] fix --- domain/model/group_m/micData.go | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/domain/model/group_m/micData.go b/domain/model/group_m/micData.go index 804ca62..971c524 100644 --- a/domain/model/group_m/micData.go +++ b/domain/model/group_m/micData.go @@ -506,6 +506,7 @@ func getMicUserData(model *domain.Model, userId uint64) (*MicUserData, error) { var headwearPicUrl string var headwearEffectUrl string + var headwearReverseEffectUrl string headwear, err := user_m.GetUserHeadwearUsing(model, userId) if err != nil { @@ -525,18 +526,19 @@ func getMicUserData(model *domain.Model, userId uint64) (*MicUserData, error) { } return &MicUserData{ - Id: user.ID, - ExternalId: user.ExternalId, - Avatar: user.Avatar, - Nick: user.Nick, - Sex: user.Sex, - Code: user.Code, - IsVip: flag, - NobleLeave: nobleLeave, - HeadwearPicUrl: headwearPicUrl, - HeadwearEffectUrl: headwearEffectUrl, - SvipLevel: svip.SvipLevel, - Svip: rpc.CopySimpleSvip(svip), - HeadwearIcon: headwearIcon, + Id: user.ID, + ExternalId: user.ExternalId, + Avatar: user.Avatar, + Nick: user.Nick, + Sex: user.Sex, + Code: user.Code, + IsVip: flag, + NobleLeave: nobleLeave, + HeadwearPicUrl: headwearPicUrl, + HeadwearEffectUrl: headwearEffectUrl, + HeadwearReverseEffectUrl: headwearReverseEffectUrl, + SvipLevel: svip.SvipLevel, + Svip: rpc.CopySimpleSvip(svip), + HeadwearIcon: headwearIcon, }, nil } -- 2.22.0