站内消息去掉标签

This commit is contained in:
zhn
2022-06-07 16:25:21 +08:00
parent fd99e629d7
commit 1641809cec
@@ -3081,6 +3081,8 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
"&title=" + title +
"&serial_number=" + serialNumber + "'" + " target='_blank'>" + serialNumber + "</a>";
if (StringUtils.isNotBlank(sbStr.toString())) {
//去掉a标签
sbStr = sbStr.replaceAll("<text class='highlight-class'>", "").replaceAll("</text>", "");
//您订阅的XXX已被修改
String content = "In the "+serialNumber+" you subscribed to, has been modified,Please pay attention to check.";
String contentInfo = "In the "+href+" you subscribed to, "+sysUser.getUsername()+" changed the "+ href + " " + sbStr.toString();