Commit 32c56507 by 徐高华

企微托管

parent d7f0c694
......@@ -141,11 +141,11 @@ public class QywxCallbackController extends WebBaseController {
// 14 101 图片
// 23 103(微信) 视频消息
// 15 102(微信) 文件消息
// 104 gif表情消息类型
// 104 gif表情消息类型 29
// 26 红包
// 78 小程序
// 13 链接
List<String> msgList = Arrays.asList("0","2","101","6","41","40","14","16","23","103","15","102","104","26","78","13") ;
List<String> msgList = Arrays.asList("0","2","101","6","41","40","14","16","23","103","15","102","104","26","78","13","29") ;
if(!msgList.contains(msgtype+"")) {
logger.info("不处理的消息");
return ;
......@@ -187,7 +187,7 @@ public class QywxCallbackController extends WebBaseController {
}else if(msgtype == 26) {
msg.setMsgtype(OpenQwMsgTypeEnum.RED);
msg.setContent(json.getString("remark"));
}else if(msgtype==104) {
}else if(msgtype==104 || msgtype==29) {
msg.setMsgtype(OpenQwMsgTypeEnum.GIF);
msg.setContent(json.getString("url"));
}else if(msgtype==23 || msgtype==103){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment