Skip to content

Commit

Permalink
🐛 #2880 【企业微信】修复审批应用设置推送消息会被误判为重复消息的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyGu777 authored Nov 19, 2022
1 parent 0721b01 commit 2a92e20
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
import me.chanjar.weixin.cp.bean.message.WxCpXmlOutMessage;
import org.apache.commons.lang3.StringUtils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.*;
import java.util.concurrent.*;

/**
Expand Down Expand Up @@ -274,6 +271,9 @@ private boolean isMsgDuplicated(WxCpXmlMessage wxMessage) {
.append("-").append(wxMessage.getCreateTime())
.append("-").append(wxMessage.getFromUserName());
}
if (Objects.nonNull(wxMessage.getApprovalInfo())) {
append(messageId, wxMessage.getApprovalInfo().getSpNo());
}
append(messageId, wxMessage.getUserId());
append(messageId, wxMessage.getChangeType());
append(messageId, wxMessage.getTagId());
Expand Down

0 comments on commit 2a92e20

Please sign in to comment.