From 6bf624b4f1f31611439d85f2bb372288eed4ebf7 Mon Sep 17 00:00:00 2001 From: zhn <947514737@qq.com> Date: Mon, 10 Apr 2023 17:41:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=9E=E4=B9=A6=E6=B6=88=E6=81=AF--=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E9=80=9A=E7=9F=A5,=E8=BD=AC=E5=8F=91=E6=8E=A8?= =?UTF-8?q?=E9=80=81=EF=BC=88=E6=A0=87=E9=A2=98=E5=8A=A8=E6=80=81=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BussDocumentLibraryEOServiceImpl.java | 6 + .../impl/DummyInventoryBaseEOServiceImpl.java | 2 + .../feishu/enums/TemplateInfoEnum2.java | 117 ++++++++++-------- .../feishu/service/IFeishuService.java | 3 +- .../service/impl/FeishuServiceImpl.java | 4 + 5 files changed, 78 insertions(+), 54 deletions(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java index 9430da4f4..45d144656 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java @@ -2366,6 +2366,8 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl batchSendLarkCardMsgByTemplate2(JSONObject json) throws IOException; /** - * 飞书消息模板--订阅通知 + * 飞书消息模板--订阅通知,转发推送 * @param templeteId * @param params */ void sendMessageSubscriptionNotification(String templeteId,Map params); + } diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/feishu/service/impl/FeishuServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/feishu/service/impl/FeishuServiceImpl.java index c15aeca58..41143401a 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/feishu/service/impl/FeishuServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/feishu/service/impl/FeishuServiceImpl.java @@ -1445,6 +1445,8 @@ public class FeishuServiceImpl implements IFeishuService { String contentCn = (String) params.get("contentInfoFeiCn"); String contentEn = (String) params.get("contentInfoFeiEn"); String back_url = (String) params.get("back_url"); + String titleCn = (String) params.get("titleCn"); + String titleEn = (String) params.get("titleEn"); try { for (String userId : userIdList) { String thirdId = this.sysUserService.getUserThirdIdByUserId(userInfoList,userId); @@ -1458,6 +1460,8 @@ public class FeishuServiceImpl implements IFeishuService { templateVariableMap.put("contentInfoFeiEn",contentEn); templateVariableMap.put("view_url_cn",back_url); templateVariableMap.put("view_url_en",back_url); + templateVariableMap.put("titleCn",titleCn); + templateVariableMap.put("titleEn",titleEn); larkMesJson.put("templateVariableMap",templateVariableMap); batchSendLarkCardMsgByTemplate2(larkMesJson);