三个点去除中括号 更新动态不更新公告

This commit is contained in:
tianfeng 2025-12-29 16:47:53 +08:00
parent c393cc5b91
commit 26fb12f8ca
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public class FamilyNewsRecorder {
targetUserName targetUserName
); );
updateFamilyNotice(familyId, newsType); // updateFamilyNotice(familyId, newsType);
} }
/** /**

View File

@ -64,7 +64,7 @@ public enum FamilyNewsTypeEnum {
String displayName = targetUserName; String displayName = targetUserName;
if (targetUserName != null && targetUserName.length() > 12) { if (targetUserName != null && targetUserName.length() > 12) {
displayName = targetUserName.substring(0, 12) + "[...]"; displayName = targetUserName.substring(0, 12) + "...";
} }
return template.replace("{targetUserName}", displayName != null ? displayName : ""); return template.replace("{targetUserName}", displayName != null ? displayName : "");