合并分支 'dev' 到 'test'
fix:补充游客头像信息 查看合并请求 !84
正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
@@ -414,8 +414,9 @@ func (translator *UserTranslator) ToVisitorFromRepresentation(user *UserDetail) | @@ -414,8 +414,9 @@ func (translator *UserTranslator) ToVisitorFromRepresentation(user *UserDetail) | ||
414 | return &domain.User{ | 414 | return &domain.User{ |
415 | UserBaseId: user.UserBaseId, | 415 | UserBaseId: user.UserBaseId, |
416 | UserInfo: &domain.UserInfo{ | 416 | UserInfo: &domain.UserInfo{ |
417 | - UserName: user.UserInfo.UserName, | ||
418 | - UserPhone: user.UserInfo.Phone, | 417 | + UserName: user.UserInfo.UserName, |
418 | + UserPhone: user.UserInfo.Phone, | ||
419 | + UserAvatar: user.UserInfo.Avatar, | ||
419 | }, | 420 | }, |
420 | UserType: user.UserType, | 421 | UserType: user.UserType, |
421 | UserName: user.UserInfo.UserName, | 422 | UserName: user.UserInfo.UserName, |
-
请 注册 或 登录 后发表评论