Commit 6a8de3cd authored by hujiebin's avatar hujiebin

Update user.go

parent 9d1ad5a0
......@@ -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)
......
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