feat(REQ-3581) - 通知增加ouId 和 workspaceID

This commit is contained in:
wangli 2025-02-27 10:13:20 +08:00
parent 8211956aa2
commit dc9d02e5b2

View File

@ -91,7 +91,11 @@ public class ImGroupAddMembersEventHandler implements EventHandler, Initializing
"initiatorName", ownerProfile.getRealName(),
"visaType", StringUtils.isNotBlank(visaType) ? VisaTypeEnum.valueOf(visaType).getDesc() : "",
"topic", group.getName())));
notice.setRouterParams(new JSONObject(Maps.of("visaId", visaId)));
notice.setRouterParams(new JSONObject(Maps.of(
"visaId", visaId,
"ouId", member.getPersonOuId(),
"workspaceId", workspaceId
)));
noticeApi.send(notice);
}
log.info("receive add member event, push notice success!");