Browse Source

韩誉演示

付宇 4 months ago
parent
commit
400d2bd7c7

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

@@ -60,24 +60,20 @@ public class WeixinMsgController extends MsgControllerAdapter {
 
 
 		} if ("韩誉演示".equalsIgnoreCase(msgContent)) {
 		} if ("韩誉演示".equalsIgnoreCase(msgContent)) {
 
 
-			//			CustomServiceApi.sendText(inTextMsg.getFromUserName(),
-			//					"演示系统将于2021年4月2-5日升级,如有疑问请联系客户经理,感谢您的支持");
-			//
-						CustomServiceApi.sendText(inTextMsg.getFromUserName(), AUTO_MSG);
-			
-						String toUrlString = "https://wc4.pacsonline.cn/#/reportInfo/reportStemp?id=cnb51i2f3w5uv769&short=1&is_dcm=1&isEncrypt=0&isAnonymous=1&service=1";
-			
-						List<Articles> list = new ArrayList<Articles>();
-						Articles articles1 = new Articles();
-						articles1.setTitle("【韩誉演示示例】点击查看本次影像和报告");
-						articles1.setDescription("欢迎使用冠医云-数字影像服务!\n点击进入查看详情,您可以分享给家属或医生,还可以随时在\"个人中心-我的检查列表\"中查看本次影像和报告");
-						articles1.setPicurl("https://ris4.pacsonline.cn/assets/ris_logo.7e42397f.png");
-						articles1.setUrl(toUrlString);
-						list.add(articles1);
-						CustomServiceApi.sendNews(inTextMsg.getFromUserName(), list);
-						renderNull();
-			
-					} else if ("报告解读测试".equalsIgnoreCase(msgContent)) {
+			// CustomServiceApi.sendText(inTextMsg.getFromUserName(), AUTO_MSG);
+
+
+			List<Articles> list = new ArrayList<Articles>();
+			Articles articles1 = new Articles();
+			articles1.setTitle("【韩誉演示示例】点击查看本次影像和报告");
+			articles1.setDescription("欢迎使用冠医云-数字影像服务!\n点击进入查看详情,您可以分享给家属或医生,还可以随时在\"个人中心-我的检查列表\"中查看本次影像和报告");
+			articles1.setPicurl("https://ris4.pacsonline.cn/assets/ris_logo.7e42397f.png");
+			articles1.setUrl("https://wc4.pacsonline.cn/#/reportInfo/reportStemp?id=cnb51i2f3w5uv769&short=1&is_dcm=1&isEncrypt=0&isAnonymous=1&service=1");
+			list.add(articles1);
+			CustomServiceApi.sendNews(inTextMsg.getFromUserName(), list);
+			renderNull();
+
+		} else if ("报告解读测试".equalsIgnoreCase(msgContent)) {
 //			CustomServiceApi.sendText(inTextMsg.getFromUserName(),
 //			CustomServiceApi.sendText(inTextMsg.getFromUserName(),
 //			"演示系统将于2021年4月2-5日升级,如有疑问请联系客户经理,感谢您的支持");
 //			"演示系统将于2021年4月2-5日升级,如有疑问请联系客户经理,感谢您的支持");
 			// CustomServiceApi.sendText(inTextMsg.getFromUserName(), AUTO_MSG);
 			// CustomServiceApi.sendText(inTextMsg.getFromUserName(), AUTO_MSG);