| @@ -22,7 +22,7 @@ public class LogHandler extends AbstractHandler { | |||||
| public WxMpXmlOutMessage handle(WxMpXmlMessage wxMessage, | public WxMpXmlOutMessage handle(WxMpXmlMessage wxMessage, | ||||
| Map<String, Object> context, WxMpService wxMpService, | Map<String, Object> context, WxMpService wxMpService, | ||||
| WxSessionManager sessionManager) { | WxSessionManager sessionManager) { | ||||
| this.logger.info("接收到请求消息,内容:【{}】", wxMessage.toString()); | |||||
| this.logger.info("\n接收到请求消息,内容:【{}】", wxMessage.toString()); | |||||
| return null; | return null; | ||||
| } | } | ||||
| @@ -34,15 +34,15 @@ public abstract class SubscribeHandler extends AbstractHandler { | |||||
| // TODO 可以添加关注用户到本地 | // TODO 可以添加关注用户到本地 | ||||
| } | } | ||||
| WxMpXmlOutMessage responsResult = null; | |||||
| WxMpXmlOutMessage responseResult = null; | |||||
| try { | try { | ||||
| responsResult = handleSpecial(wxMessage); | |||||
| responseResult = handleSpecial(wxMessage); | |||||
| } catch (Exception e) { | } catch (Exception e) { | ||||
| this.logger.error(e.getMessage(), e); | this.logger.error(e.getMessage(), e); | ||||
| } | } | ||||
| if (responsResult != null) { | |||||
| return responsResult; | |||||
| if (responseResult != null) { | |||||
| return responseResult; | |||||
| } | } | ||||
| try { | try { | ||||