|
|
@@ -34,7 +34,7 @@ public class ContributionEventProducer {
|
|
|
public void sendAddContributionRecordsEvent(String userId, String sourceId, String currency, String value, String stakeValue, String ruleCode, String days) {
|
|
|
String destination = CONTRIBUTION_TOPIC + ":addContributionRecords_event";
|
|
|
String message = String.format(
|
|
|
- "{\"userId\":%s,\"sourceId\":%s,\"currency\":\"%s\",\"value\":\"%s\",\"stakeValue\":\"%s\",\"ruleCode\":\"%s\",\"days\":\"%s\"}",
|
|
|
+ "{\"userId\":%s,\"sourceId\":\"%s\",\"currency\":\"%s\",\"value\":\"%s\",\"stakeValue\":\"%s\",\"ruleCode\":\"%s\",\"days\":\"%s\"}",
|
|
|
userId, sourceId, currency, value, stakeValue, ruleCode, days);
|
|
|
rocketMQTemplate.convertAndSend(destination, message);
|
|
|
log.info("发送“添加贡献记录”事件: userId={}, sourceId={}, ruleCode={}, currency={}, value={}",
|