|
@@ -247,14 +247,14 @@ namespace WingInterfaceLibrary.DTO.User
|
|
|
get
|
|
|
{
|
|
|
var name = string.IsNullOrWhiteSpace(FullName) ? UserName : FullName;
|
|
|
- if(Regex.IsMatch(name,"[0-9A-Z]{32}") && !string.IsNullOrWhiteSpace(Email))
|
|
|
- {
|
|
|
- name = Email;
|
|
|
- }
|
|
|
if(Regex.IsMatch(name,"[0-9A-Z]{32}") && !string.IsNullOrWhiteSpace(Phone))
|
|
|
{
|
|
|
name = Phone;
|
|
|
}
|
|
|
+ if(Regex.IsMatch(name,"[0-9A-Z]{32}") && !string.IsNullOrWhiteSpace(Email))
|
|
|
+ {
|
|
|
+ name = Email;
|
|
|
+ }
|
|
|
return name;
|
|
|
}
|
|
|
}
|