mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 10:38:42 +08:00 
			
		
		
		
	一些小的代码调整
This commit is contained in:
		| @ -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) { |     if (responseResult != null) { | ||||||
|       return responsResult; |       return responseResult; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     try { |     try { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 BinaryWang
					BinaryWang