刘韬 3 years ago
parent
commit
b80d569daf

+ 3 - 3
PacsOnline_Wechat_Patient/src/main/java/com/zskk/controller/WeixinMsgController.java

@@ -255,9 +255,6 @@ public class WeixinMsgController extends MsgControllerAdapter {
 				if (userBind == null) {
 					uService.bindUserReport(findUser.getId(), exams);
 				}
-//				CustomServiceApi.sendText(inQrCodeEvent.getFromUserName(),
-//						"欢迎关注!\n使用微信\"扫一扫\",扫描报告上的二维码,即可查看数字影像和报告");
-
 				List<Articles> list = new ArrayList<Articles>();
 				Articles articles1 = new Articles();
 				articles1.setTitle("点击查看本次影像和报告");
@@ -265,7 +262,10 @@ public class WeixinMsgController extends MsgControllerAdapter {
 				articles1.setUrl(toUrlString);
 				articles1.setPicurl("http://work.pacsonline.cn/static/img/banner.e8ee043.png");
 				list.add(articles1);
+				CustomServiceApi.sendText(inQrCodeEvent.getFromUserName(),
+						"欢迎关注!\n使用微信\"扫一扫\",扫描报告上的二维码,即可查看数字影像和报告");
 				CustomServiceApi.sendNews(inQrCodeEvent.getFromUserName(), list);
+				renderNull();
 			}
 		}
 		if (InQrCodeEvent.EVENT_INQRCODE_SCAN.equals(inQrCodeEvent.getEvent())) {