mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-04 04:37:46 +08:00
🎨 #2705 【小程序】异步安全校验事件中消息重复判断代码修复
This commit is contained in:
parent
1ccb94fd4e
commit
3ee7d0d391
@ -287,6 +287,10 @@ public class WxConsts {
|
|||||||
*/
|
*/
|
||||||
public static final String CARD_USER_GIFTING_CARD = "user_gifting_card";
|
public static final String CARD_USER_GIFTING_CARD = "user_gifting_card";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 异步安全校验事件
|
||||||
|
*/
|
||||||
|
public static final String WXA_MEDIA_CHECK = "wxa_media_check";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 卡券事件:用户核销卡券
|
* 卡券事件:用户核销卡券
|
||||||
|
@ -183,6 +183,10 @@ public class WxMaMessageRouter {
|
|||||||
messageId.append("-").append(wxMessage.getToUser());
|
messageId.append("-").append(wxMessage.getToUser());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (StringUtils.isNotEmpty(wxMessage.getTraceId())) {
|
||||||
|
messageId.append("-").append(wxMessage.getTraceId());
|
||||||
|
}
|
||||||
|
|
||||||
return this.messageDuplicateChecker.isDuplicate(messageId.toString());
|
return this.messageDuplicateChecker.isDuplicate(messageId.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user