File tree 2 files changed +8
-0
lines changed
weixin-java-common/src/main/java/me/chanjar/weixin/common/api
weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/message
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,10 @@ public static class EventType {
287
287
*/
288
288
public static final String CARD_USER_GIFTING_CARD = "user_gifting_card" ;
289
289
290
+ /**
291
+ * 异步安全校验事件
292
+ */
293
+ public static final String WXA_MEDIA_CHECK = "wxa_media_check" ;
290
294
291
295
/**
292
296
* 卡券事件:用户核销卡券
Original file line number Diff line number Diff line change @@ -183,6 +183,10 @@ private boolean isMsgDuplicated(WxMaMessage wxMessage) {
183
183
messageId .append ("-" ).append (wxMessage .getToUser ());
184
184
}
185
185
186
+ if (StringUtils .isNotEmpty (wxMessage .getTraceId ())) {
187
+ messageId .append ("-" ).append (wxMessage .getTraceId ());
188
+ }
189
+
186
190
return this .messageDuplicateChecker .isDuplicate (messageId .toString ());
187
191
}
188
192
You can’t perform that action at this time.
0 commit comments