|
@ -144,36 +144,36 @@ public class WeiXinEventProcess {
|
|
public void setUrlItems(List<Map<String, String>> articles) {
|
|
public void setUrlItems(List<Map<String, String>> articles) {
|
|
Map<String, String> articleBooking = new HashMap<>();
|
|
Map<String, String> articleBooking = new HashMap<>();
|
|
// 图文URL
|
|
// 图文URL
|
|
String urlBooking = "https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri=http%3A%2F%2Fhzijk.cityihealth.com%2Fmedical-care-patient%2Fhome%2Findex&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect";
|
|
|
|
|
|
String urlBooking = "https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri=https%3A%2F%2Fzhyzh.hzxc.gov.cn%2Fmedical-care-patient%2Fhome%2Findex&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect";
|
|
urlBooking = urlBooking.replace("{appId}", appId);
|
|
urlBooking = urlBooking.replace("{appId}", appId);
|
|
articleBooking.put("Url", urlBooking);
|
|
articleBooking.put("Url", urlBooking);
|
|
articleBooking.put("Title", "你好啊,欢迎来到朝晖云照护!");
|
|
articleBooking.put("Title", "你好啊,欢迎来到朝晖云照护!");
|
|
articleBooking.put("Description", "这里是智慧养老和健康管理服务社区+幼儿成长教育服务平台\n" +
|
|
articleBooking.put("Description", "这里是智慧养老和健康管理服务社区+幼儿成长教育服务平台\n" +
|
|
"我们陪你一起,关爱老人,呵护孩子!\n" +
|
|
"我们陪你一起,关爱老人,呵护孩子!\n" +
|
|
"感谢关注,点击下方菜单直接进入朝晖云照护平台");
|
|
"感谢关注,点击下方菜单直接进入朝晖云照护平台");
|
|
articleBooking.put("PicUrl", "http://hzijk.cityihealth.com/image/index.png");
|
|
|
|
|
|
articleBooking.put("PicUrl", "https://zhyzh.hzxc.gov.cn/image/index.png");
|
|
|
|
|
|
articles.add(articleBooking);
|
|
articles.add(articleBooking);
|
|
|
|
|
|
Map<String, String> articleDevice = new HashMap<>();
|
|
Map<String, String> articleDevice = new HashMap<>();
|
|
// 图文URL
|
|
// 图文URL
|
|
String urlDevice = "https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri=http%3A%2F%2Fhzijk.cityihealth.com%2Fmedical-care-patient%2FonlineRegistration%2Findex&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect";
|
|
|
|
|
|
String urlDevice = "https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri=https%3A%2F%2Fzhyzh.hzxc.gov.cn%2Fmedical-care-patient%2FonlineRegistration%2Findex&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect";
|
|
urlDevice = urlDevice.replace("{appId}", appId);
|
|
urlDevice = urlDevice.replace("{appId}", appId);
|
|
articleDevice.put("Url", urlDevice);
|
|
articleDevice.put("Url", urlDevice);
|
|
articleDevice.put("Title", "在线入园");
|
|
articleDevice.put("Title", "在线入园");
|
|
articleDevice.put("Description", "申请专业托育机构入园资格");
|
|
articleDevice.put("Description", "申请专业托育机构入园资格");
|
|
articleDevice.put("PicUrl", "http://hzijk.cityihealth.com/image/doorCoach.png");
|
|
|
|
|
|
articleDevice.put("PicUrl", "https://zhyzh.hzxc.gov.cn/image/doorCoach.png");
|
|
|
|
|
|
articles.add(articleDevice);
|
|
articles.add(articleDevice);
|
|
|
|
|
|
Map<String, String> articleFamily = new HashMap<>();
|
|
Map<String, String> articleFamily = new HashMap<>();
|
|
// 图文URL
|
|
// 图文URL
|
|
String urlFamily = "https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri=http%3A%2F%2Fhzijk.cityihealth.com%2Fmedical-care-patient%2FlifeCare%2Findex&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect";
|
|
|
|
|
|
String urlFamily = "https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri=https%3A%2F%2Fzhyzh.hzxc.gov.cn%2Fmedical-care-patient%2FlifeCare%2Findex&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect";
|
|
urlFamily = urlFamily.replace("{appId}", appId);
|
|
urlFamily = urlFamily.replace("{appId}", appId);
|
|
articleFamily.put("Url", urlFamily);
|
|
articleFamily.put("Url", urlFamily);
|
|
articleFamily.put("Title", "上门预约");
|
|
articleFamily.put("Title", "上门预约");
|
|
articleFamily.put("Description", "预约幼儿教育专家上门育儿指导");
|
|
articleFamily.put("Description", "预约幼儿教育专家上门育儿指导");
|
|
articleFamily.put("PicUrl", "http://hzijk.cityihealth.com/image/online.png");
|
|
|
|
|
|
articleFamily.put("PicUrl", "https://zhyzh.hzxc.gov.cn/image/online.png");
|
|
|
|
|
|
articles.add(articleFamily);
|
|
articles.add(articleFamily);
|
|
}
|
|
}
|