|
@@ -204,6 +204,21 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
|
CustomServiceApi.sendNews(inQrCodeEvent.getFromUserName(), list);
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ if (arr[2].equals("HEALTHTESTING")) {
|
|
|
+ List<Articles> list = new ArrayList<Articles>();
|
|
|
+ Articles articles1 = new Articles();
|
|
|
+ articles1.setTitle("点击进入健康测试");
|
|
|
+ articles1.setDescription("欢迎使用冠医云-健康测试服务!\n点击进入查看详情,您可以分享给微信好友,还可以随时在\"健康测试\"菜单中查看测试结果");
|
|
|
+ articles1.setPicurl("https://ris4.pacsonline.cn/assets/login_bg.5ee3e603.png");
|
|
|
+ articles1.setUrl("https://wechat.pacsonline.cn/wx_patient/web/qatest");
|
|
|
+ list.add(articles1);
|
|
|
+ CustomServiceApi.sendNews(inQrCodeEvent.getFromUserName(), list);
|
|
|
+ renderNull();
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
String toUrlString = "";
|
|
|
Exams exams = null;
|
|
|
if (arr[1].equals("ReportQR")) {
|
|
@@ -293,8 +308,14 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
|
}
|
|
|
|
|
|
if (arr[1].equals("HEALTHTESTING")) {
|
|
|
- CustomServiceApi.sendText(inQrCodeEvent.getFromUserName(),"健康测试");
|
|
|
-
|
|
|
+ List<Articles> list = new ArrayList<Articles>();
|
|
|
+ Articles articles1 = new Articles();
|
|
|
+ articles1.setTitle("点击进入健康测试");
|
|
|
+ articles1.setDescription("欢迎使用冠医云-健康测试服务!\n点击进入查看详情,您可以分享给微信好友,还可以随时在\"健康测试\"菜单中查看测试结果");
|
|
|
+ articles1.setPicurl("https://ris4.pacsonline.cn/assets/login_bg.5ee3e603.png");
|
|
|
+ articles1.setUrl("https://wechat.pacsonline.cn/wx_patient/web/qatest");
|
|
|
+ list.add(articles1);
|
|
|
+ CustomServiceApi.sendNews(inQrCodeEvent.getFromUserName(), list);
|
|
|
renderNull();
|
|
|
return;
|
|
|
}
|