Commit 08fd552a authored by hujiebin's avatar hujiebin

fix:headwearIcon

parent b196fca7
......@@ -152,6 +152,8 @@ func (s *UserService) GetUserDetail(userId mysql.ID, myUserId mysql.ID, lang str
cp, err := cp_s.NewCpService(s.svc.MyContext).GetUserCp(userId, lang)
if err != nil {
return nil, err
} else if cp != nil && cp.CpUserInfo != nil {
headwear.HeadwearIcon = *cp.CpUserInfo.Avatar
}
groupPowerId, groupPowerName, err := groupPower_m.GetUserGroupPower(model, userId)
......
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