|
@ -255,24 +255,6 @@ public class WeiXinEventProcess {
|
|
|
articlePrescription.put("PicUrl", prescription_pic);
|
|
|
articles.add(articlePrescription);
|
|
|
|
|
|
// 新增居民取药码图文消息 by wjj 2017.08.25
|
|
|
Map<String, String> articlePatientQRCode = new HashMap<>();
|
|
|
// 图文URL
|
|
|
String patientQRCode = systemConf.getProperty("patient_QRCode_url");
|
|
|
// 图文消息图片URL
|
|
|
String patientQRCode_pic = systemConf.getProperty("patient_QRCode_pic");
|
|
|
// URL设置服务器URL、AppId
|
|
|
patientQRCode = patientQRCode.replace("{server}", wechat_base_url)
|
|
|
.replace("{appId}", appId);
|
|
|
//图片地址
|
|
|
patientQRCode_pic = patientQRCode_pic.replace("{server}", serverUrl);
|
|
|
|
|
|
articlePatientQRCode.put("Url", patientQRCode);
|
|
|
articlePatientQRCode.put("Title", "我的取药码");
|
|
|
articlePatientQRCode.put("Description", "我的取药码");
|
|
|
articlePatientQRCode.put("PicUrl", patientQRCode_pic);
|
|
|
articles.add(articlePatientQRCode);
|
|
|
|
|
|
// 构建回复消息XML
|
|
|
result = WeiXinMessageReplyUtils.replyNewsMessage(message.get("FromUserName"), message.get("ToUserName"), articles);
|
|
|
|