刘韬 4 years ago
parent
commit
88c97014ca

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

@@ -35,24 +35,24 @@ public class WeixinMsgController extends MsgControllerAdapter {
 
 		if ("演示".equalsIgnoreCase(msgContent)) {
 
-			CustomServiceApi.sendText(inTextMsg.getFromUserName(),
-					"演示系统将于2021年4月2-5日升级,如有疑问请联系客户经理,感谢您的支持");
-//
 //			CustomServiceApi.sendText(inTextMsg.getFromUserName(),
-//					"【声明】为保证客户数据隐私安全,数字影像示例涉及检查信息、用户信息、医疗机构信息等均已经过数据脱敏处理。\n通过以下途径了解更多或联系我们:\n官方网站:<a href=\"http://www.pacsonline.cn\">点击进入</a>\n咨询热线:010-53932350\n电子邮箱:company@pacsonline.cn\n您即将收到数字影像示例,请点击下方消息查看,谢谢您的使用!");
+//					"演示系统将于2021年4月2-5日升级,如有疑问请联系客户经理,感谢您的支持");
 //
-//			String toUrlString = String.format(
-//					"https://wechatclient3.pacsonline.cn/#/reportInfo/report?openid=%s&exam_id=%s&study_id=%s", "test",
-//					"cnb5089c8jadjdlv", "9427e19e4a5687a811f79eca24e6128d");
-//
-//			List<Articles> list = new ArrayList<Articles>();
-//			Articles articles1 = new Articles();
-//			articles1.setTitle("【数字影像示例】点击查看本次影像和报告");
-//			articles1.setDescription("欢迎使用中世康恺PacsOnline!\n点击进入查看详情,您可以分享给家属或医生,日后还可以在\"我的报告\"中查看本次影像和报告");
-//			articles1.setPicurl("http://work.pacsonline.cn/static/img/banner.e8ee043.png");
-//			articles1.setUrl(toUrlString);
-//			list.add(articles1);
-//			CustomServiceApi.sendNews(inTextMsg.getFromUserName(), list);
+			CustomServiceApi.sendText(inTextMsg.getFromUserName(),
+					"【声明】为保证客户数据隐私安全,数字影像示例涉及检查信息、用户信息、医疗机构信息等均已经过数据脱敏处理。\n通过以下途径了解更多或联系我们:\n官方网站:<a href=\"http://www.pacsonline.cn\">点击进入</a>\n咨询热线:010-53932350\n电子邮箱:company@pacsonline.cn\n您即将收到数字影像示例,请点击下方消息查看,谢谢您的使用!");
+
+			String toUrlString = String.format(
+					"https://wechatclient3.pacsonline.cn/#/reportInfo/report?openid=%s&exam_id=%s&study_id=%s", "test",
+					"cnb5089c8jadjdlv", "9427e19e4a5687a811f79eca24e6128d");
+
+			List<Articles> list = new ArrayList<Articles>();
+			Articles articles1 = new Articles();
+			articles1.setTitle("【数字影像示例】点击查看本次影像和报告");
+			articles1.setDescription("欢迎使用中世康恺PacsOnline!\n点击进入查看详情,您可以分享给家属或医生,日后还可以在\"我的报告\"中查看本次影像和报告");
+			articles1.setPicurl("http://work.pacsonline.cn/static/img/banner.e8ee043.png");
+			articles1.setUrl(toUrlString);
+			list.add(articles1);
+			CustomServiceApi.sendNews(inTextMsg.getFromUserName(), list);
 			renderNull();
 		} else if ("测试".equalsIgnoreCase(msgContent)) {