diff --git a/domain/service/user_s/user.go b/domain/service/user_s/user.go index 3eb69f311e3b370e74accd8cefec7185a088f346..e292325c5ec555982abafd11d5ac2b4444204ac1 100644 --- a/domain/service/user_s/user.go +++ b/domain/service/user_s/user.go @@ -153,7 +153,7 @@ func (s *UserService) GetUserDetail(userId mysql.ID, myUserId mysql.ID, lang str if err != nil { return nil, err } else if cp != nil && cp.CpUserInfo != nil && cp.CpUserInfo.Avatar != nil { - headwear.HeadwearIcon = *cp.CpUserInfo.Avatar + headwear.HeadwearIcon = *(cp.CpUserInfo).Avatar } groupPowerId, groupPowerName, err := groupPower_m.GetUserGroupPower(model, userId)