|
@@ -40,7 +40,6 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
protected void processInTextMsg(InTextMsg inTextMsg) {
|
|
protected void processInTextMsg(InTextMsg inTextMsg) {
|
|
String msgContent = inTextMsg.getContent().trim();
|
|
String msgContent = inTextMsg.getContent().trim();
|
|
if ("演示".equalsIgnoreCase(msgContent)) {
|
|
if ("演示".equalsIgnoreCase(msgContent)) {
|
|
-
|
|
|
|
// CustomServiceApi.sendText(inTextMsg.getFromUserName(),
|
|
// CustomServiceApi.sendText(inTextMsg.getFromUserName(),
|
|
// "演示系统将于2021年4月2-5日升级,如有疑问请联系客户经理,感谢您的支持");
|
|
// "演示系统将于2021年4月2-5日升级,如有疑问请联系客户经理,感谢您的支持");
|
|
//
|
|
//
|
|
@@ -57,8 +56,7 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
list.add(articles1);
|
|
list.add(articles1);
|
|
CustomServiceApi.sendNews(inTextMsg.getFromUserName(), list);
|
|
CustomServiceApi.sendNews(inTextMsg.getFromUserName(), list);
|
|
renderNull();
|
|
renderNull();
|
|
-
|
|
|
|
- } if ("韩誉演示".equalsIgnoreCase(msgContent)) {
|
|
|
|
|
|
+ } else if ("韩誉演示".equalsIgnoreCase(msgContent)) {
|
|
|
|
|
|
// CustomServiceApi.sendText(inTextMsg.getFromUserName(), AUTO_MSG);
|
|
// CustomServiceApi.sendText(inTextMsg.getFromUserName(), AUTO_MSG);
|
|
|
|
|
|
@@ -116,7 +114,13 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
"测试链接:\n<a href=\"https://wechat.pacsonline.cn/wx_patient/web/qatest\">点击进入</a>");
|
|
"测试链接:\n<a href=\"https://wechat.pacsonline.cn/wx_patient/web/qatest\">点击进入</a>");
|
|
|
|
|
|
renderNull();
|
|
renderNull();
|
|
- }else if ("扫码".equalsIgnoreCase(msgContent)) {
|
|
|
|
|
|
+ } else if ("课程测试".equalsIgnoreCase(msgContent)) {
|
|
|
|
+
|
|
|
|
+ CustomServiceApi.sendText(inTextMsg.getFromUserName(),
|
|
|
|
+ "测试链接:\n<a href=\"https://wechat.pacsonline.cn/wx_patient/web/valuetest\">点击进入</a>");
|
|
|
|
+
|
|
|
|
+ renderNull();
|
|
|
|
+ } else if ("扫码".equalsIgnoreCase(msgContent)) {
|
|
|
|
|
|
CustomServiceApi.sendText(inTextMsg.getFromUserName(),
|
|
CustomServiceApi.sendText(inTextMsg.getFromUserName(),
|
|
"模拟扫码,\n<a href=\"https://wechat.pacsonline.cn/wx_patient/web/test5\">查询报告</a>");
|
|
"模拟扫码,\n<a href=\"https://wechat.pacsonline.cn/wx_patient/web/test5\">查询报告</a>");
|