mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-23 21:56:06 +08:00
修复handler为空时导致的bug
This commit is contained in:
parent
560ae27a45
commit
c13b8ac485
@ -211,6 +211,9 @@ public class WxMpMessageRouterRule {
|
||||
WxMpXmlOutMessage res = null;
|
||||
for (WxMpMessageHandler handler : this.handlers) {
|
||||
// 返回最后handler的结果
|
||||
if(handler == null){
|
||||
continue;
|
||||
}
|
||||
res = handler.handle(wxMessage, context, wxMpService, sessionManager);
|
||||
}
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user