完善构建唯一 key 相关代码

pull/62/head
chenxi 2 months ago
parent 209cc816be
commit 86a740b9c4

@ -31,7 +31,7 @@ public class FrequencyDeduplicationService extends AbstractDeduplicationService
/**
* key
* <p>
* key receiver + templateId + sendChannel
* key receiver + sendChannel
* <p>
* 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();
}
}

Loading…
Cancel
Save