|
@@ -388,7 +388,7 @@ namespace GxPress.Repository.Implement
|
|
|
if (!string.IsNullOrWhiteSpace(request.Phone))
|
|
|
user.Phone = request.Phone;
|
|
|
user.QRCoder = StringUtils.RemoveDomain(user.QRCoder);
|
|
|
- if (user.DisableTypeId > 0)
|
|
|
+ if (request.DisableTypeId > 0)
|
|
|
user.IsDisable = user.DisableTypeId == 1;
|
|
|
return await UpdateAsync(user);
|
|
|
}
|