作者 陈志颖

fix:补充游客头像信息

... ... @@ -414,8 +414,9 @@ func (translator *UserTranslator) ToVisitorFromRepresentation(user *UserDetail)
return &domain.User{
UserBaseId: user.UserBaseId,
UserInfo: &domain.UserInfo{
UserName: user.UserInfo.UserName,
UserPhone: user.UserInfo.Phone,
UserName: user.UserInfo.UserName,
UserPhone: user.UserInfo.Phone,
UserAvatar: user.UserInfo.Avatar,
},
UserType: user.UserType,
UserName: user.UserInfo.UserName,
... ...