三个点去除中括号 更新动态不更新公告
This commit is contained in:
parent
c393cc5b91
commit
26fb12f8ca
@ -43,7 +43,7 @@ public class FamilyNewsRecorder {
|
||||
targetUserName
|
||||
);
|
||||
|
||||
updateFamilyNotice(familyId, newsType);
|
||||
// updateFamilyNotice(familyId, newsType);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -64,7 +64,7 @@ public enum FamilyNewsTypeEnum {
|
||||
|
||||
String displayName = targetUserName;
|
||||
if (targetUserName != null && targetUserName.length() > 12) {
|
||||
displayName = targetUserName.substring(0, 12) + "[...]";
|
||||
displayName = targetUserName.substring(0, 12) + "...";
|
||||
}
|
||||
|
||||
return template.replace("{targetUserName}", displayName != null ? displayName : "");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user