From 86a740b9c479042b03dc6e5e9c033bec43434ba8 Mon Sep 17 00:00:00 2001 From: chenxi Date: Sat, 20 Apr 2024 15:36:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=9E=84=E5=BB=BA=E5=94=AF?= =?UTF-8?q?=E4=B8=80=20key=20=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deduplication/service/FrequencyDeduplicationService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/austin-handler/src/main/java/com/java3y/austin/handler/deduplication/service/FrequencyDeduplicationService.java b/austin-handler/src/main/java/com/java3y/austin/handler/deduplication/service/FrequencyDeduplicationService.java index 075d1e3..207ca83 100644 --- a/austin-handler/src/main/java/com/java3y/austin/handler/deduplication/service/FrequencyDeduplicationService.java +++ b/austin-handler/src/main/java/com/java3y/austin/handler/deduplication/service/FrequencyDeduplicationService.java @@ -31,7 +31,7 @@ public class FrequencyDeduplicationService extends AbstractDeduplicationService /** * 业务规则去重 构建key *

- * key : receiver + templateId + sendChannel + * key : receiver + sendChannel *

* 一天内一个用户只能收到某个渠道的消息 N 次 * @@ -43,7 +43,6 @@ public class FrequencyDeduplicationService extends AbstractDeduplicationService public String deduplicationSingleKey(TaskInfo taskInfo, String receiver) { return PREFIX + StrPool.C_UNDERLINE + receiver + StrPool.C_UNDERLINE - + taskInfo.getMessageTemplateId() + StrPool.C_UNDERLINE + taskInfo.getSendChannel(); } }