...
This commit is contained in:
parent
9c1f141a00
commit
1e8e58d3de
@ -2,7 +2,7 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2022-04-22 10:53:49
|
* @Date: 2022-04-22 10:53:49
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2022-04-22 23:04:58
|
* @LastEditTime: 2022-04-22 23:48:28
|
||||||
* @FilePath: \DisasterWarning\src\main\java\com\cpic\xim\wechat\officalAccount\sendMessage.java
|
* @FilePath: \DisasterWarning\src\main\java\com\cpic\xim\wechat\officalAccount\sendMessage.java
|
||||||
* @Description: 用来推送公众号消息的程序库。
|
* @Description: 用来推送公众号消息的程序库。
|
||||||
*
|
*
|
||||||
@ -27,7 +27,7 @@ import com.cpic.xim.notify.disaster.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 推送微信公众号消息。
|
* 推送微信公众号消息。
|
||||||
*
|
* @Description
|
||||||
* @author Kane
|
* @author Kane
|
||||||
*/
|
*/
|
||||||
public class sendMessage
|
public class sendMessage
|
||||||
@ -79,7 +79,7 @@ public class sendMessage
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 推送数据
|
// 推送数据
|
||||||
URL url;
|
URL url = null;
|
||||||
HttpURLConnection connection = null;
|
HttpURLConnection connection = null;
|
||||||
|
|
||||||
StringBuilder result = new StringBuilder();
|
StringBuilder result = new StringBuilder();
|
||||||
@ -147,7 +147,6 @@ public class sendMessage
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 推送天气灾害预警!接口文档参考 彭奕洁 编写《消息发送接口调用文档》
|
* 推送天气灾害预警!接口文档参考 彭奕洁 编写《消息发送接口调用文档》
|
||||||
*
|
|
||||||
* @param officalAccountURL 产险厦门分公司公众号接口网址
|
* @param officalAccountURL 产险厦门分公司公众号接口网址
|
||||||
* @param warning 灾害警报对象
|
* @param warning 灾害警报对象
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user