作者 陈志颖

fix:修复推荐人userInfo数据缺失

@@ -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,