订阅领域--新增文档发飞书消息
This commit is contained in:
+12
-3
@@ -2208,9 +2208,18 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
//飞书
|
//飞书
|
||||||
try {
|
try {
|
||||||
String contentInfoFeiShu = "In the "+ technologyTerritoryName
|
String contentInfoFeiShu = "In the "+ technologyTerritoryName
|
||||||
+ " technical field you subscribed to, the "
|
+ " technical field you subscribed to, the "+
|
||||||
+ serialNumber +" has been updated.";
|
category + " " + serialNumber +" has been updated.";
|
||||||
iFeishuService.batchSendMessage(thirdIdList.toArray(new String[]{}), contentInfoFeiShu, MessageTypeEnum.PUSH.getName(), hrefTemp);
|
String contentInfoFeiShuCn = "您所订阅的" + technologyTerritoryName + "技术领域中更新了" + category + " " + serialNumber;;
|
||||||
|
|
||||||
|
FeishuMsgVo feishuMsgVo = new FeishuMsgVo();
|
||||||
|
feishuMsgVo.setTitle(MessageTypeEnum.READ.getName());
|
||||||
|
feishuMsgVo.setUrl(hrefTemp);
|
||||||
|
feishuMsgVo.setContentEn(contentInfoFeiShu);
|
||||||
|
feishuMsgVo.setContent(contentInfoFeiShuCn);
|
||||||
|
|
||||||
|
iFeishuService.sendCardMsgTerritory(thirdIdList.toArray(new String[]{}), feishuMsgVo);
|
||||||
|
// iFeishuService.batchSendMessage(thirdIdList.toArray(new String[]{}), contentInfoFeiShu, MessageTypeEnum.PUSH.getName(), hrefTemp);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
log.error("飞书消息推送失败");
|
log.error("飞书消息推送失败");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user