mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
一些小的代码调整
This commit is contained in:
parent
73bf3b0364
commit
a3fcaa0198
@ -22,7 +22,7 @@ public class LogHandler extends AbstractHandler {
|
||||
public WxMpXmlOutMessage handle(WxMpXmlMessage wxMessage,
|
||||
Map<String, Object> context, WxMpService wxMpService,
|
||||
WxSessionManager sessionManager) {
|
||||
this.logger.info("接收到请求消息,内容:【{}】", wxMessage.toString());
|
||||
this.logger.info("\n接收到请求消息,内容:【{}】", wxMessage.toString());
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -34,15 +34,15 @@ public abstract class SubscribeHandler extends AbstractHandler {
|
||||
// TODO 可以添加关注用户到本地
|
||||
}
|
||||
|
||||
WxMpXmlOutMessage responsResult = null;
|
||||
WxMpXmlOutMessage responseResult = null;
|
||||
try {
|
||||
responsResult = handleSpecial(wxMessage);
|
||||
responseResult = handleSpecial(wxMessage);
|
||||
} catch (Exception e) {
|
||||
this.logger.error(e.getMessage(), e);
|
||||
}
|
||||
|
||||
if (responsResult != null) {
|
||||
return responsResult;
|
||||
if (responseResult != null) {
|
||||
return responseResult;
|
||||
}
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user