|
@@ -318,6 +318,8 @@ namespace GxPress.Repository.Implement
|
|
|
result.UserId = user.Id;
|
|
|
result.DepartmentId = user.DepartmentId;
|
|
|
result.User = _mapper.Map<UserResult>(user);
|
|
|
+ if (result.User != null)
|
|
|
+ result.User.AvatarUrl = StringUtils.AddDomain(result.User.AvatarUrl);
|
|
|
//修改登录时间
|
|
|
user.LoginTime = DateTime.Now;
|
|
|
await _repository.UpdateAsync(user);
|