|
@@ -133,16 +133,21 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
|
Articles articles1 = new Articles();
|
|
|
articles1.setTitle("欢迎关注,请点此进入");
|
|
|
articles1.setDescription("点击页面绑定手机号或检查信息,立即查看数字影像");
|
|
|
- articles1.setUrl("https://wechatclient3.pacsonline.cn/#/bind?openid=" + inFollowEvent.getFromUserName());
|
|
|
+ articles1.setUrl("https://wc4.pacsonline.cn/#/select?openid=" + inFollowEvent.getFromUserName());
|
|
|
articles1.setPicurl("http://work.pacsonline.cn/static/img/banner.e8ee043.png");
|
|
|
list.add(articles1);
|
|
|
CustomServiceApi.sendNews(inFollowEvent.getFromUserName(), list);
|
|
|
} else {
|
|
|
findUser.setSubscribeStatus(2);
|
|
|
findUser.update();
|
|
|
- OutTextMsg outMsgs = new OutTextMsg(inFollowEvent);
|
|
|
- outMsgs.setContent("欢迎关注!\n使用微信\"扫一扫\",扫描报告上的二维码,即可查看数字影像和报告");
|
|
|
- render(outMsgs);
|
|
|
+ List<Articles> list = new ArrayList<Articles>();
|
|
|
+ Articles articles1 = new Articles();
|
|
|
+ articles1.setTitle("欢迎关注,请点此进入");
|
|
|
+ articles1.setDescription("点击页面绑定手机号或检查信息,立即查看数字影像");
|
|
|
+ articles1.setUrl("https://wc4.pacsonline.cn/#/select?openid=" + inFollowEvent.getFromUserName());
|
|
|
+ articles1.setPicurl("http://work.pacsonline.cn/static/img/banner.e8ee043.png");
|
|
|
+ list.add(articles1);
|
|
|
+ CustomServiceApi.sendNews(inFollowEvent.getFromUserName(), list);
|
|
|
}
|
|
|
}
|
|
|
// 如果为取消关注事件,将无法接收到传回的信息
|
|
@@ -212,7 +217,7 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
|
Articles articles = new Articles();
|
|
|
articles.setTitle("欢迎关注,请点此进入");
|
|
|
articles.setDescription("点击页面绑定手机号或检查信息,立即查看数字影像");
|
|
|
- articles.setUrl("https://wechatclient3.pacsonline.cn/#/bind?openid=" + inQrCodeEvent.getFromUserName());
|
|
|
+ articles.setUrl("https://wc4.pacsonline.cn/#/select?openid=" + inQrCodeEvent.getFromUserName());
|
|
|
articles.setPicurl("http://work.pacsonline.cn/static/img/banner.e8ee043.png");
|
|
|
listgz.add(articles);
|
|
|
CustomServiceApi.sendNews(inQrCodeEvent.getFromUserName(), listgz);
|