|
@@ -31,7 +31,7 @@ import com.zskk.service.UserService;
|
|
|
public class WeixinMsgController extends MsgControllerAdapter {
|
|
|
|
|
|
private static String DEMO_URL = "https://wechat.pacsonline.cn/wx_patient/web/demo";
|
|
|
-
|
|
|
+ private static String PACSVIEW_AI_DEMO_URL = "https://aipacsview.pacsonline.cn/#/mobile?studyurl=https://query.pacsonline.cn/query?address=&study_id=5df96d5378d05b49db82fe36f5e11d6c&node_type=1&node_type=1&anonymous=1";
|
|
|
private static String AUTO_MSG = "【声明】为保证客户数据隐私安全,数字影像示例涉及检查信息、用户信息、医疗机构信息等均已经过数据脱敏处理。\n通过以下途径了解更多或联系我们:\n官方网站:<a href=\"https://www.pacsonline.cn\">点击进入</a>\n咨询热线:010-53675656\n客服热线:010-53670138\n电子邮箱:company@pacsonline.cn\n您即将收到数字影像示例,请点击下方消息查看,谢谢您的使用!";
|
|
|
|
|
|
|
|
@@ -57,6 +57,23 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
|
list.add(articles1);
|
|
|
CustomServiceApi.sendNews(inTextMsg.getFromUserName(), list);
|
|
|
renderNull();
|
|
|
+ } if ("影像演示".equalsIgnoreCase(msgContent)) {
|
|
|
+
|
|
|
+// CustomServiceApi.sendText(inTextMsg.getFromUserName(),
|
|
|
+// "演示系统将于2021年4月2-5日升级,如有疑问请联系客户经理,感谢您的支持");
|
|
|
+//
|
|
|
+ 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(PACSVIEW_AI_DEMO_URL);
|
|
|
+ list.add(articles1);
|
|
|
+ CustomServiceApi.sendNews(inTextMsg.getFromUserName(), list);
|
|
|
+ renderNull();
|
|
|
} else if ("咸阳测试".equalsIgnoreCase(msgContent)) {
|
|
|
|
|
|
CustomServiceApi.sendText(inTextMsg.getFromUserName(),
|