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