refactor: 发送站内通知

This commit is contained in:
Captain.B 2021-08-19 16:43:41 +08:00 committed by 刘瑞斌
parent 052112627c
commit e9f312a1a0
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,10 @@ public abstract class AbstractNoticeSender implements NoticeSender {
if (createUser != null) {
toUsers.add(new Receiver(createUser.toString(), NotificationConstants.Type.SYSTEM_NOTICE.name()));
}
createUser = paramMap.get("userId");
if (createUser != null) {
toUsers.add(new Receiver(createUser.toString(), NotificationConstants.Type.SYSTEM_NOTICE.name()));
}
break;
case NoticeConstants.RelatedUser.MAINTAINER:
if (StringUtils.equals(NoticeConstants.Event.COMMENT, event)) {