|
@@ -91,7 +91,7 @@ public class UserCard {
|
|
|
if (Strings.isBlank(this.cardId)) {
|
|
|
return null;
|
|
|
}
|
|
|
- return this.cardId.substring(0, 3) + "***" + this.cardId.substring(this.cardId.length() - 3);
|
|
|
+ return this.cardId.substring(0, 3) + " *** " + this.cardId.substring(this.cardId.length() - 3);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -105,9 +105,9 @@ public class UserCard {
|
|
|
}
|
|
|
//两个字得名字
|
|
|
if (this.cardName.length() <= 2) {
|
|
|
- return this.cardName.substring(0, 1) + "*";
|
|
|
+ return this.cardName.substring(0, 1) + " * ";
|
|
|
}
|
|
|
//两个字以上得名字, 显示头尾
|
|
|
- return this.cardName.substring(0, 1) + "*" + this.cardName.substring(this.cardName.length() - 1);
|
|
|
+ return this.cardName.substring(0, 1) + " * " + this.cardName.substring(this.cardName.length() - 1);
|
|
|
}
|
|
|
}
|