File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,8 @@ protected boolean isDuplicateMessage(WxCpXmlMessage wxMessage) {
204
204
messageId = String .valueOf (wxMessage .getCreateTime ())
205
205
+ "-" +String .valueOf (wxMessage .getAgentId () == null ? "" : wxMessage .getAgentId ())
206
206
+ "-" + wxMessage .getFromUserName ()
207
- + "-" + String .valueOf (wxMessage .getEventKey () == null ? "" : wxMessage .getEventKey ());
207
+ + "-" + String .valueOf (wxMessage .getEventKey () == null ? "" : wxMessage .getEventKey ())
208
+ + "-" + String .valueOf (wxMessage .getEvent () == null ? "" : wxMessage .getEvent ())
208
209
;
209
210
} else {
210
211
messageId = String .valueOf (wxMessage .getMsgId ());
Original file line number Diff line number Diff line change @@ -203,7 +203,8 @@ protected boolean isDuplicateMessage(WxMpXmlMessage wxMessage) {
203
203
if (wxMessage .getMsgId () == null ) {
204
204
messageId = String .valueOf (wxMessage .getCreateTime ())
205
205
+ "-" + wxMessage .getFromUserName ()
206
- + "-" + String .valueOf (wxMessage .getEventKey () == null ? "" : wxMessage .getEventKey ());
206
+ + "-" + String .valueOf (wxMessage .getEventKey () == null ? "" : wxMessage .getEventKey ())
207
+ + "-" + String .valueOf (wxMessage .getEvent () == null ? "" : wxMessage .getEvent ())
207
208
;
208
209
} else {
209
210
messageId = String .valueOf (wxMessage .getMsgId ());
You can’t perform that action at this time.
0 commit comments