正在显示
1 个修改的文件
包含
8 行增加
和
1 行删除
@@ -175,7 +175,14 @@ func (translator *UserTranslator) ToReferrerFromRepresentation(user *UserDetail) | @@ -175,7 +175,14 @@ func (translator *UserTranslator) ToReferrerFromRepresentation(user *UserDetail) | ||
175 | CompanyLogo: "", | 175 | CompanyLogo: "", |
176 | CompanyName: user.Company.CompanyName, | 176 | CompanyName: user.Company.CompanyName, |
177 | }, | 177 | }, |
178 | - UserInfo: nil, | 178 | + UserInfo: &domain.UserInfo{ |
179 | + UserAvatar: user.UserInfo.Avatar, | ||
180 | + UserEmail: user.UserInfo.Email, | ||
181 | + UserName: user.UserInfo.UserName, | ||
182 | + UserPhone: user.UserInfo.Phone, | ||
183 | + UserAccount: "", | ||
184 | + UserCode: user.UserCode, | ||
185 | + }, | ||
179 | UserType: user.UserType, | 186 | UserType: user.UserType, |
180 | UserName: user.UserInfo.UserName, | 187 | UserName: user.UserInfo.UserName, |
181 | UserPhone: user.UserInfo.Phone, | 188 | UserPhone: user.UserInfo.Phone, |
-
请 注册 或 登录 后发表评论