发送奖励去除 100K门槛
This commit is contained in:
parent
9fa21f0d14
commit
a16c49890c
@ -256,13 +256,6 @@ public class WeeklyRewardsSentManager {
|
||||
try {
|
||||
RankingActivityRecord user = topUsers.get(i);
|
||||
|
||||
// 判断金额是否达到100K,如果没有则跳过不发奖励
|
||||
if ((user.getQuantity() == null || user.getQuantity() < 100000) && !Objects.equals(activityId, 2029445310384295938L)) {
|
||||
log.warn("活动奖励 - 排名: {}, 用户ID: {}, 金额: {} 未达到100K要求,跳过发奖励",
|
||||
i + 1, user.getUserId(), user.getQuantity());
|
||||
continue;
|
||||
}
|
||||
|
||||
ActivityConfigRewardsDTO reward = rewardsDTOList.get(i);
|
||||
|
||||
// 发送奖励
|
||||
@ -305,13 +298,6 @@ public class WeeklyRewardsSentManager {
|
||||
try {
|
||||
RankingActivityRecord user = topUsers.get(userIndex);
|
||||
|
||||
// 判断金额是否达到100K,如果没有则跳过不发奖励
|
||||
if (user.getQuantity() == null || user.getQuantity() < 100000) {
|
||||
log.warn("活动奖励 - 排名: {}, 用户ID: {}, 金额: {} 未达到100K要求,跳过发奖励",
|
||||
userIndex + 1, user.getUserId(), user.getQuantity());
|
||||
continue;
|
||||
}
|
||||
|
||||
// 发送奖励
|
||||
sendRewardToUser(sysOriginPlatformEnum, activityId, user.getUserId(),
|
||||
reward.getResourceGroupId(), SendPropsOrigin.RANKING_ACTIVITY);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user