手机关注后不回复

来源:5-5 消息的接收与响应3

查查

2015-07-10 17:49

信息: Reloading context [/weixin]
2015-7-10 17:46:56 org.apache.catalina.core.StandardContext reload
信息: Reloading Context with name [/weixin] has started
2015-7-10 17:46:56 org.apache.catalina.core.StandardContext reload
信息: Reloading Context with name [/weixin] is completed
<xml>
  <ToUserName>oncoSwnNAwpeapmlqQRMM2tV12C4</ToUserName>
  <FromUserName>gh_9ddc05f993d6</FromUserName>
  <CreateTime>1436521633921</CreateTime>
  <MsgType>text</MsgType>
  <Content>欢迎进入安华亿能医疗预防脑中风订阅号,如需查询报告单请按报告单进行查询</Content>
</xml>
null
null
null

写回答 关注

1回答

  • giscafer
    2015-10-07 12:28:29

    检查一下下边代码:

    //事件
    			else if(MessageUtil.MESSAGE_EVENT.equals(MsgType)){
    				String eventType=map.get("Event");
    				if(MessageUtil.MESSAGE_SUBSCRIBE.equals(eventType)){
    					message=MessageUtil.initText(toUserName, fromUserName, MessageUtil.menuText());
    				}
    			}

    源码:https://github.com/giscafer/gisrobot

    查查

    谢谢!问题已经解决了

    2015-10-27 10:09:42

    共 2 条回复 >

初识Java微信公众号开发

Java微信公众号开发的入门教程,掌握微信公众号基本概念

158313 学习 · 684 问题

查看课程

相似问题