🎨 修復处理回调消息时无法使用agentId进行路由匹配的问题

This commit is contained in:
jamy888 2022-04-02 13:16:18 +00:00 committed by binarywang
parent e2c24124e1
commit a6b0b9c191

View File

@ -246,7 +246,7 @@ public class WxCpMessageRouterRule {
return
(this.fromUser == null || this.fromUser.equals(wxMessage.getFromUserName()))
&&
(this.agentId == null || this.agentId.equals(wxMessage.getAgentId()))
(this.agentId == null || this.agentId.equals(Integer.valueOf(wxMessage.getAgentId())))
&&
(this.msgType == null || this.msgType.equalsIgnoreCase(wxMessage.getMsgType()))
&&