|
@@ -399,9 +399,10 @@ namespace GxPress.Repository.Implement
|
|
|
user.Signature = request.Signature;
|
|
|
//用户头像
|
|
|
if (!string.IsNullOrEmpty(request.AvatarUrl))
|
|
|
+ {
|
|
|
+ user.HistoryAvatarUrl = user.AvatarUrl;
|
|
|
user.AvatarUrl = StringUtils.RemoveDomain(request.AvatarUrl);
|
|
|
- else
|
|
|
- user.AvatarUrl = StringUtils.RemoveDomain(user.AvatarUrl);
|
|
|
+ }
|
|
|
user.Email = request.Email;
|
|
|
if (!string.IsNullOrWhiteSpace(request.Phone))
|
|
|
user.Phone = request.Phone;
|