From 3dda8252f64ec479331d90a8d2045ba802a441c2 Mon Sep 17 00:00:00 2001 From: Kane Wang Date: Thu, 14 Apr 2022 11:40:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=BF=9B=E5=BA=A6=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cpic/xim/wechat/common/PushMessage.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 code/java/天气灾害预警/src/main/java/com/cpic/xim/wechat/common/PushMessage.java diff --git a/code/java/天气灾害预警/src/main/java/com/cpic/xim/wechat/common/PushMessage.java b/code/java/天气灾害预警/src/main/java/com/cpic/xim/wechat/common/PushMessage.java new file mode 100644 index 0000000..e32ea4a --- /dev/null +++ b/code/java/天气灾害预警/src/main/java/com/cpic/xim/wechat/common/PushMessage.java @@ -0,0 +1,20 @@ + +package com.cpic.xim.wechat.common; + +public class PushMessage { + + /** + * 向公众号推送通知消息。接口文档参考 彭奕洁 编写《消息发送接口调用文档》 + * @param url 公众号接口网址。 + * @param title 通知的标题。 + * @param notifyType 通知类型。 + * @param notifyMessage 通知文本内容。 + */ + public static void PushNotifyMessage( String url, + String title, + String notifyType, + String notifyMessage ) + { + + } +} \ No newline at end of file