From 47dd1ecaf0aafa66b9c39fff9c91abc1c611b02c Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期二, 27 十月 2026 17:59:46 +0800
Subject: [PATCH] feat(wxcp): 通知支持图片/视频/Markdown/多图文模板与成员预览

---
 yudao-module-wxcp/src/main/java/cn/iocoder/yudao/module/wxcp/service/push/WxCpMessagePushService.java |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/yudao-module-wxcp/src/main/java/cn/iocoder/yudao/module/wxcp/service/push/WxCpMessagePushService.java b/yudao-module-wxcp/src/main/java/cn/iocoder/yudao/module/wxcp/service/push/WxCpMessagePushService.java
index 32540a9..039a6f6 100644
--- a/yudao-module-wxcp/src/main/java/cn/iocoder/yudao/module/wxcp/service/push/WxCpMessagePushService.java
+++ b/yudao-module-wxcp/src/main/java/cn/iocoder/yudao/module/wxcp/service/push/WxCpMessagePushService.java
@@ -72,4 +72,38 @@
      */
     WxCpPushResultVO pushImage(java.io.File file, Integer scope, String target);
 
+    /**
+     * 鎺ㄩ�佽棰戞秷鎭細鍏堟妸瑙嗛涓婁紶鍒颁紒涓氬井淇℃崲鍙� mediaId锛屽啀鍙戦�佽棰�
+     *
+     * @param file        瑙嗛鏂囦欢
+     * @param title       瑙嗛鏍囬
+     * @param description 瑙嗛鎻忚堪锛屽彲涓虹┖
+     * @param scope       鎺ㄩ�佽寖鍥�
+     * @param target      鎺ㄩ�佺洰鏍�
+     * @return 鎺ㄩ�佺粨鏋�
+     */
+    WxCpPushResultVO pushVideo(java.io.File file, String title, String description,
+                               Integer scope, String target);
+
+    /**
+     * 鎺ㄩ�� Markdown 娑堟伅锛岄�傚悎甯︽爣棰樸�佸姞绮椼�佸垪琛ㄣ�佸紩鐢ㄧ瓑鎺掔増鐨勬寮忛�氱煡
+     *
+     * @param content Markdown 鍐呭锛堜紒涓氬井淇¢檺鍒� 2048 瀛楄妭锛�
+     * @param scope   鎺ㄩ�佽寖鍥�
+     * @param target  鎺ㄩ�佺洰鏍�
+     * @return 鎺ㄩ�佺粨鏋�
+     */
+    WxCpPushResultVO pushMarkdown(String content, Integer scope, String target);
+
+    /**
+     * 鎺ㄩ�佸鍥炬枃娑堟伅锛堜竴娆℃秷鎭甫澶氱瘒鏂囩珷锛�
+     *
+     * @param articles 鍥炬枃鍒楄〃锛屼紒涓氬井淇¢檺鍒� 1~8 绡�
+     * @param scope    鎺ㄩ�佽寖鍥�
+     * @param target   鎺ㄩ�佺洰鏍�
+     * @return 鎺ㄩ�佺粨鏋�
+     */
+    WxCpPushResultVO pushMultiNews(java.util.List<me.chanjar.weixin.cp.bean.article.NewArticle> articles,
+                                   Integer scope, String target);
+
 }

--
Gitblit v1.9.3