|
@ -409,6 +409,9 @@ public class WeiXinEventProcess {
|
|
// 图文信息
|
|
// 图文信息
|
|
List<Map<String, String>> articles = new ArrayList<>();
|
|
List<Map<String, String>> articles = new ArrayList<>();
|
|
|
|
|
|
|
|
//设置抽奖
|
|
|
|
setDraw(articles,systemConf);
|
|
|
|
|
|
Map<String, String> article = new HashMap<>();
|
|
Map<String, String> article = new HashMap<>();
|
|
// 图文URL
|
|
// 图文URL
|
|
String url = systemConf.getProperty("doctor_subscribe_url");
|
|
String url = systemConf.getProperty("doctor_subscribe_url");
|
|
@ -430,9 +433,6 @@ public class WeiXinEventProcess {
|
|
//设置共有的图文消息
|
|
//设置共有的图文消息
|
|
setUrlItems(articles, systemConf);
|
|
setUrlItems(articles, systemConf);
|
|
|
|
|
|
//设置抽奖
|
|
|
|
setDraw(articles,systemConf);
|
|
|
|
|
|
|
|
// 构建回复消息XML
|
|
// 构建回复消息XML
|
|
result = WeiXinMessageReplyUtils.replyNewsMessage(message.get("FromUserName"), message.get("ToUserName"), articles);
|
|
result = WeiXinMessageReplyUtils.replyNewsMessage(message.get("FromUserName"), message.get("ToUserName"), articles);
|
|
}else {
|
|
}else {
|